write file, change read file