code: def loadXMLGenericData(filename):  # not tested
      
      reader = vtk.vtkXMLGenericDataObjectReader()
      reader.SetFileName(filename)
      reader.Update()
      return Actor(reader.GetOutput())
docs: Read any type of vtk data object encoded in XML format. Return an ``Actor(vtkActor)`` object.