public static FileSystemWatcher WatchOnly(this FileSystemWatcher watcher, string dir, string filter)
 {
     watcher.Path = dir;
     return(watcher.Filter(filter));
 }