Format the text files