@Override
  public boolean nextKeyValue() throws IOException, InterruptedException {
    // TODO Auto-generated method stub
    if (fileProcessed) {
      return false;
    }

    while (lineReader.nextKeyValue()) {
      valueBuffer.append(lineReader.getCurrentValue());
    }
    value.set(valueBuffer.toString());
    fileProcessed = true;
    return true;
  }