protected TokenState getNextState() {
    String[] line = getNextLine();
    TokenState state = new TokenState(line[1], line[line.length-1].equals("yes"));
    for (int i = 2; i < line.length-1; i++)
      if (!line[i].equals(""))
        state.addDestination(getHeaderEntry(i), Integer.parseInt(line[i]));
    return state;
  }