remove core file