remove files from core directory