Add back addPathToWatchServiceTask when registering a file for monitorin...

...g