begin a wrapper around inotify