def METHOD_NAME(filepath, **kwargs):
    """Generate H5transform from file.
    Parameters
    ----------
    filepath :  str
                Path to H5 transform.
    **kwargs
                Keyword arguments passed to H5transform.__init__
    Returns
    -------
    H5transform
    """
    defaults = {'direction': 'forward'}
    defaults.update(kwargs)
    return H5JavaTransform(str(filepath), **defaults)