Implementation of file/directory watch service