Moved file monitoring code into its own class: TABFileMonitor.