Remove cores file and cores file references