verify file write