clean core files