A directory watcher gateway that uses the java WatchService API