def METHOD_NAME(filename):
    d = {}
    file_path = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, filename))
    assert os.path.isfile(file_path), 'CSV path does not exist: %s' % file_path
    with open(file_path, 'r') as csvfile:
        for i, row in enumerate(csv.reader(csvfile)):
            assert type(row) is list and len(row) == 2 and row[1] and row[0].isdigit(), 'Bad CSV %s, row number %s' % (filename, i)
            d[int(row[0]) % 0x8000] = row[1]
    return d