write into file at first time and test 6 file.