Fixing file waching