Formating the file