txt format

write to txt format