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);
					control(inum);
				} catch (NumberFormatException e) {
					System.out.println("no es un numero");
				} catch (BigNumberException qwer) {
					System.out.println("Numero Superior a 1000");
					qwer.printStackTrace();
				}
			}
		} catch (FileNotFoundException asdf) {
			asdf.printStackTrace();
		} catch (IOException ioe) {
			ioe.printStackTrace();
		}finally {
			System.out.println("Voy a cerrar el fichero");
			try {
				Buffer.close();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}		
	}