public synchronized void unwatch(String pathName) throws IOException {
  unregisterAll(Paths.get(pathName));
}

public synchronized void unwatch ( String pathName ) throws IOException { unregisterAll ( Paths . get ( pathName ) ) ; }
recursively listen for file system events in the specified path name .
