formatting the file so that it displays correctly