added amazing function for getting the class & test name from file