delete file with incorrect extension