def METHOD_NAME(boardstxt):
    # we "reject" everything because we don't care about the values, only the keys
    families = parse_file(boardstxt, lambda x: True)
    del families["menu"]
    boards = set()
    for fam, famcfg in families.items():
        boards.update(famcfg.menu.pnum.keys())
    return boards