correcting the file