Format the file correctly