code: def create_bird_config_files(bird_configuration):
      for ip_version in bird_configuration:
          config_file = bird_configuration[ip_version]['config_file']
          try:
              touch(config_file)
          except OSError as exc:
              raise ValueError("failed to create {f}:{e}"
                               .format(f=config_file, e=exc))
          if bird_configuration[ip_version]['keep_changes']:
              history_dir = os.path.join(os.path.dirname(config_file), 'history')
              try:
                  os.mkdir(history_dir)
              except FileExistsError:
                  pass
              except OSError as exc:
                  raise ValueError("failed to make directory {d} for keeping a "
                                   "history of changes for {b}:{e}"
                                   .format(d=history_dir, b=config_file, e=exc))
              else:
                  print("{d} is created".format(d=history_dir))