public static void main(String[] args) {
		File f = new File("files/numeros.txt");
		BufferedReader Buffer = null;
		String Linea = null;
		try {
			Buffer = new BufferedReader(new InputStreamReader(
					new FileInputStream(f)));
			while ((Linea = Buffer.readLine()) != null) {
				System.out.println(Linea);
				try{
					int inum = Integer.parseInt(Linea);
				}catch (NumberFormatException e){
					e.printStackTrace();
					System.out.println("no es un numero");
				}
			}
		} catch (FileNotFoundException asdf) {
			asdf.printStackTrace();
		} catch (IOException ioe) {
			ioe.printStackTrace();
		} finally {
			System.out.println("Voy a cerrar el fichero");
			if (Linea != null)
				try {
					Buffer.close();
				} catch (IOException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
		}
	}