watches a file input for changes made to the file loaded