Add file monitor to snippet manager