protected static void leertodo(){
		
		
		try {
			ObjectInputStream dataIn = new ObjectInputStream(Files.newInputStream(path));
			while(true ){
				
				Product product=(Product) dataIn.readObject();
				System.out.println(product.toString());
					
		}
		}catch(EOFException e){
			System.out.println("Fin de fichero");
			
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		
	}