correcting file mess