removing core files