public void useDictionary(String dictionaryFileName) throws IOException {
		try {
      root.clearList();
      this.root = new Words();
			Scanner sc = new Scanner(new File(dictionaryFileName));
			while (sc.hasNext()) {
        root.add(sc.next());
			}
      sc.close();
		} catch (FileNotFoundException e) {
			System.out.println("");
		}

	}