Remove watchdog dependency

We were importing watchdog in our main file which isn't necessary.  I
moved the file monitoring logic into a new file so that it is only
imported if necessary.