@classmethod
def fromfile(cls, fh, *args, valid=True, verify=True, **kwargs):
    """Read a frame from a filehandle.

        Parameters
        ----------
        fh : filehandle
            Handle to read the frame from
        *args, **kwargs
            Arguments that help to initialize the payload.
        valid : bool
            Whether the data are valid.  Default: `True`.
        verify : bool
            Whether to do basic verification of integrity.  Default: `True`.
        """
    header = cls._header_class.fromfile(fh, verify=verify)
    payload = cls._payload_class.fromfile(fh, *args, **kwargs)
    return cls(header, payload, valid=valid, verify=verify)
