code: def move_vcf(orig_file, new_file):
      
      for ext in ["", ".idx", ".tbi"]:
          to_move = orig_file + ext
          if os.path.exists(to_move):
              shutil.move(to_move, new_file + ext)
docs: Move a VCF file with associated index.