remove generated files with the original file extension