HTML <input type='file'> File Selection Event
Listen to the change event.
input.onchange = function(e) {
..
};
When you have to reload the file, you can erase the value of input. Next time you add a file, 'on change' event will trigger.
document.getElementById('my_input').value = null;
// ^ that just erase the file path but do the trick