change the format of the exported file to txt