updated file_watcher syntax