code: def move_aside_file(path):
      """Move a file aside if it exists; restore it on completion"""
      moved = False
      if os.path.exists(path):
          os.rename(path, f"{path}.bak")
          moved = True
  
      try:
          yield None
      finally:
          if moved:
              os.rename(f"{path}.bak", path)
  
imports: import os
  import shutil
  import signal
  import subprocess
  import sys
  import time
  from contextlib import contextmanager
  from os.path import abspath, basename, dirname, join, splitext
  from pathlib import Path
  from tempfile import TemporaryFile
  from typing import List
  import click
  import requests
label_desc: Use image node_id 2 for calling a global function with example usage: move_aside_file(path) without return types