def load_configuration(self):
        # Version 1 configurations are a special case. They do not store
        # any version information in the configuration data itself, rather they
        # can only be identified by the use of the file name
        # current_configuration.v1.json
        # Therefore we check for a version 1 configuration file and if it is
        # found, the config is upgraded, written to current_configuration.json
        # and the old file archived as current_configuration.v1.old.json
        self._process_v1_config(
            file_name=b"current_configuration.v1.json",
            archive_name=b"current_configuration.v1.old.json"
        )

        # We can now safely attempt to detect and process a >v1 configuration
        # file as normal.
        if self._config_path.exists():
            config_json = self._config_path.getContent()
            config_dict = loads(config_json)
            config_version = config_dict['version']
            if config_version < _CONFIG_VERSION:
                with _LOG_UPGRADE(self.logger,
                                  configuration=config_json,
                                  source_version=config_version,
                                  target_version=_CONFIG_VERSION):
                    config_json = migrate_configuration(
                        config_version, _CONFIG_VERSION,
                        config_json, ConfigurationMigration)
            config = wire_decode(config_json)
            self._deployment = config.deployment
            self._sync_save(config.deployment)
        else:
            self._deployment = Deployment()
            self._sync_save(self._deployment)
Given a folder name and a list of image links create a new
dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/_persistence.py/ConfigurationPersistenceService.load_configuration--crossover with--dataset/ETHPy150Open unlimitedlabs/orchestra/orchestra/google_apps/convenience.py/create_media_folder_with_images