protected static boolean insertarP(Product p){
		
			try {
				
				AppendObject dataOut=new AppendObject (Files.newOutputStream(path,java.nio.file.StandardOpenOption.APPEND ));
				dataOut.writeObject(p);
				dataOut.reset();
				dataOut.flush();
				dataOut.close();
				return true;
				
			} catch (IOException e) {
				e.printStackTrace();
			}
			return false;
	}