Correcting file formats