def _prepare_config(self):
        if self._filesystem.exists(self._output_dir):
            output_log = self._filesystem.join(self._output_dir, self._log_file_name)
            self._wsout = self._filesystem.open_text_file_for_writing(output_log)
        self._install_modules()
        self._copy_webkit_test_files()