Add FILE_WRITE flag and WatchAllFlags