Reformat of file