Removed unneeded iteration in file watcher