user guard to watch file