Remove unwanted core file.