Formatting text of the file