@classmethod
def from_PFB_filename(cls, filename):
    """create a T1File instance from PFB font file of given name"""
    with open(filename, 'rb') as file:
        t1file = cls.from_PFB_bytes(file.read())
    return t1file
