@classmethod
def from_file(cls, fname):
    """Create a SchemaRegistry from a file.

        Args:
            fname (str): Full path to the file the schema should be loaded from.

        """
    out = cls()
    out.load(fname)
    return out
