def initialize(
        self, rt_config: cg.QuantumRuntimeConfiguration, shared_rt_info: cg.SharedRuntimeInfo
    ):
        """Initialize the filesystem for data saving

        Args:
            rt_config: The immutable `cg.QuantumRuntimeConfiguation` for this run. This is written
                once during this initialization.
            shared_rt_info: The initial `cg.SharedRuntimeInfo` to be saved to a file.
        """
        os.makedirs(self._data_dir, exist_ok=False)
        self._egr_record = ExecutableGroupResultFilesystemRecord(
            runtime_configuration_path='QuantumRuntimeConfiguration.json.gz',
            shared_runtime_info_path='SharedRuntimeInfo.json.gz',
            executable_result_paths=[],
            run_id=self.run_id,
        )
        cirq.to_json_gzip(
            rt_config, f'{self._data_dir}/{self._egr_record.runtime_configuration_path}'
        )
        _update_updatable_files(self._egr_record, shared_rt_info, self._data_dir)
Initialize the filesystem for data saving

        Args:
            rt_config: The immutable `cg.QuantumRuntimeConfiguation` for this run. This is written
                once during this initialization.
            shared_rt_info: The initial `cg.SharedRuntimeInfo` to be saved to a file.
        
cirq-google/cirq_google/workflow/io.py