parse dictionary file