.txt -> .dat(except log.txt)