code: def parse(self, file_name):
          
          self.object = self.parsed_class()
          with open(file_name, encoding='utf-8') as f:
              self.parse_str(f.read())
          return self.object
docs: Parse entire file and return relevant object.
  
          :param file_name: File path
          :type file_name: str
          :return: Parsed object