@classmethod
def format_file_header(cls, file_head_desc):
    """Generate a file header"""
    bytes = bytearray([cls.header_type_by_desc['file'], 0, cls.
        data_version_major, cls.data_version_minor, 0, 0, 0, 0])
    return bytes
