write file 2