file renamed according to class name