@Override
	public boolean nextKeyValue() throws IOException {
		if (key == null) {
			key = new Long(pos);
		}
		if (value == null) {
			value = new Text("");
		}

		String line = "";
		boolean hasFinished = true;
		if (pos < end) {
			line = reader.readLine();
//			// EOF
//			if (line == null) {
//				break;
//			}
			if (line != null) {
				hasFinished = false;
				pos += line.getBytes().length + 1;
			}
		}
		if (hasFinished) {
			key = null;
			value = null;
			return false;
		} else {
			key = pos;
			value = new Text(line);
			if (line.equals("aaa")) {
				System.out.println();
			}
			return true;
		}
	}