def METHOD_NAME(filename):
    """Load a PETSc array from filename, written in binary format
    Args:
        filename (str): path to file to load
    Returns:
        petsc4py.Mat: loaded array
    """
    outputfile = os.path.join(filename)
    viewer = PETSc.Viewer().createBinary(outputfile, 'r')
    # PetscAray = PETSc.Mat().createDense()
    PetscAray = PETSc.Mat().load(viewer)
    return PetscAray