added in watchdog for file changes