def subfile_split(value):
    """Split a subfile into the name and payload.

    :param value: The value in the SUBFILE tag.
    :return: (name, data).
    """
    name = value.split(b'\x00', 1)[0].decode('utf-8')
    data = value[128:]
    return name, data
