correction of file extension