Changed method of reading dictionary file .