def METHOD_NAME(cls, tag, filename, **kwargs):
    """
    Create an :class:`Media` from a local file.
    Parameters
    ----------
    filename: str
        The location of a file to read into the value from disk.
    **kwargs:
        The keyword arguments for `Media`
    Returns an `Media` with the value set from the filename.
    """
    value = cls._load_file_value(filename)
    if 'format' not in kwargs:
        format = cls._guess_format(tag, filename)
        if format is not None:
            kwargs['format'] = format
    return cls(value=value, **kwargs)