working file write