multi file write