Added file watchdog and preprocess all resources