improve file watching