code: def rename_atomic_files(folder, old_name, new_name):
      """Rename all atomic files in a given folder.
  
      Args:
          folder (string): The folder.
          old_name (string): Old name for atomic files.
          new_name (string): New name for atomic files.
      """
      files = os.listdir(folder)
      for f in files:
          base, suf = os.path.splitext(f)
          if not old_name in base:
              continue
          if suf not in {".inter", ".user", ".item"}:
              logger = getLogger()
              logger.warning(
                  f"Moving downloaded file with suffix [{suf}]."
              )
          os.rename(
              os.path.join(folder, f),
              os.path.join(
                  folder, base.replace(old_name, new_name) + suf
              ),
          )
  
file_path: RecBole/recbole/utils/url.py
imports: import urllib.request
  import zipfile
  import os
  import os.path
  import errno
  from logging import getLogger
  from tqdm import tqdm
label_desc: Use image node_id 5 for calling a global function with example usage: rename_atomic_files(folder, old_name, new_name) without return types