clear old files, format class name