@classmethod
def from_htmlfile(cls, path, encoding=None):
    """ Load the color mapping from WebAnnotator-annotated HTML file """
    with open(path, 'rb') as f:
        return cls.from_htmlbytes(f.read(), encoding=encoding)
