adding stat to watch_file