removing all but core files