make FileWatcher.cpp compilable; add more untested code to it