remove the "class" part of the file name