write out a txt file not a csv