file write criteria changed