code: def renew_step_dir(step_dir: str):
      
      if os.path.exists(step_dir):
          logging.info("Remove unfinished step %s", step_dir)
          shutil.rmtree(step_dir)
      logging.info("Create: %s", step_dir)
      os.makedirs(step_dir)
docs: Delete step directory if exists and create, reporting actions.