public OPFDictionary(string path) { string line; StreamReader infile = new StreamReader(path); words = new Hashtable(); while ((line = infile.ReadLine()) != null) { words.Add(line, true); } infile.Close(); }