Get classes and functions defined in a given file