Test file correction