/**
   * Loads a Nodelist from file.
   *
   * @param fileLocation Location of the file in String format.
   * @return True if successful, false otherwise.
   */
  public boolean loadNodeList(String fileLocation) {
    Object loadedFile = fileManager.loadXMLFile(NodeList.class, fileLocation);

    if (loadedFile != null) {
      try {
        nodeManager.setNodeList((NodeList) loadedFile);
      } catch (ClassCastException e) {
        return false;
      }
      return true;
    } else {
      return false;
    }
  }