Updating FileWatcher to avoid reprocessing files which were not successfully processed