correcting file extension