class Configuration {

  public void removePropertiesFromAmbariProperties(Collection<String> propertiesToBeRemoved) throws AmbariException {
    final Properties existingProperties = readConfigFile();
    propertiesToBeRemoved.forEach(key -> {
      existingProperties.remove(key);
    });
    writeConfigFile(existingProperties, false);

    // reloading properties
    this.properties = readConfigFile();
  }

  public  Configuration();
  public  Configuration(Properties properties);

}