implement (incomplete) nam_dict.txt parser