public static void main(String[] args) {
		File f = new File("registro.txt");
		BufferedReader reader = null;
		int mayor = 0, actual = 0;
		String[] valor = null;
		try {
			reader = new BufferedReader(new InputStreamReader(
					new FileInputStream(f)));
			String line = reader.readLine();
			while (line != null) {
				valor = line.split(" ");
				actual = Integer.parseInt(valor[2]);
				System.out.println(valor[2]);
				if (mayor < actual)
					mayor = actual;
				line = reader.readLine();
			}
			System.out.println("Mayor: "+mayor);

		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			try {
				if (reader != null)
					reader.close();
			} catch (IOException e) {
			}
		}
	}