void addHistoryItem(Choice choiceHistory, String historyFile, String newItem) {
    boolean alreadyInHistory = false;

    try {
      String line = new String();
      BufferedReader history = new BufferedReader(new FileReader(historyFile));

      while ((line = history.readLine()) != null) {
        if (line.equals(newItem))
          alreadyInHistory = true;

      }

      history.close();
    } catch (IOException ex) {
      System.out.println("FNF Error: " + ex);
      client.log("FNF Error: " + ex);
    }

    if (!alreadyInHistory) {
      try {
        BufferedWriter fw = new BufferedWriter(new FileWriter(historyFile, true));
        fw.write(newItem + "\n");
        fw.close();
        choiceHistory.addItem(newItem);
        System.out.println("History.addItem:" + newItem);
        client.log("History.addItem:" + newItem);
      } catch (IOException exe) {
        System.out.println("FNF Error: " + exe);
        client.log("FNF Error: " + exe);
      }
    }
  }