See comments

Switched order of statements in visit(Class_) method in class visitor,
as was necessary to stop throwing null pointers.
Fixed the get file name method
Added a call to set class name before
Deleted stupid comment