put the current file watching code behind the same API as new file watching code, for easy testing of new code