code: public void setValue(String name, String value) {
      	Properties properties = loadProperties();
      	try (
      	    	OutputStream output = new FileOutputStream(file);
          	) {
      	    	properties.setProperty(name, value);
      	    	properties.store(output, "");
      	    	output.close();
  
          	} catch(IOException e) {
          		logger.warn(String.format("Could not save the keyvalue store, reason:%s", e.getMessage()));
          	}
      }
docs: Set the value associated with name.
  @param name
  @param value