docs: def parse(fileobject, schema=None):
      """Parses a file object
      
      This functon parses a KML file object, and optionally validates it against 
      a provided schema.
      """
      if schema:
          # with validation
          parser = objectify.makeparser(schema = schema.schema, strip_cdata=False)
          return objectify.parse(fileobject, parser=parser)
      else:
          # without validation
          return objectify.parse(fileobject)