private static String threadNameForPath(Path path) {
    return String.format("file-watcher-%s-", path.getName(path.getNameCount() - 1));
  }
Watches a single file for changes by polling the last modified time on the file.

<p>
Note: {@link WatchService} is not used here because it has problems with container file systems
and remote file systems.
<p>
geode-core/src/main/java/org/apache/geode/internal/net/filewatch/PollingFileWatcher.java