format the file