code: def convert_file(file_path: str, target_path: str = None):
      if target_path is None:
          target_path = file_path.replace(".md", ".rst")
  
      with open(file_path, "r") as f:
          md_content = f.read()
  
      with open(target_path, "w") as f:
          f.write(convert(md_content))
          print(f"Saved RST file to {target_path}")
  
label_desc: Use image node_id 1 for calling a global function with example usage: convert_file(file_path, target_path) without return types