deletes extraneous file with wrong file extension