write2file.dat was written