def METHOD_NAME(data_path):
    with open(data_path, 'r') as f:
        data = f.readlines()
    buf = []
    cnt = 0
    for line in data:
        splitted_line = line.split(',')
        for el in splitted_line:
            el = el.replace(" ", "")
            if el.startswith('0x'):
                buf[-1].append(el[:10])
            elif el.startswith('#define'):
                buf.append([])
    return buf