code: def gen_bucket_test1_dirs():
      bucket_name = "datalad-test1-dirs-versioned"
      bucket = gen_test_bucket(bucket_name)
      bucket.configure_versioning(True)
  
      # Enable web access to that bucket to everyone
      bucket.configure_website("index.html")
      set_bucket_public_access_policy(bucket)
  
      files = VersionedFilesPool(bucket)
  
      files("d1", load="")  # creating an empty file
      # then we would like to remove that d1 as a file and make a directory out of it
      files("d1/file1.txt")
      # and then delete it and place it back
      files("d1", load="smth")
  
imports: import mimetypes
  from os.path import splitext
  import re
  from datalad.support.network import urlquote, URL
  import logging
  import datalad.log
  from datalad.support.exceptions import CapturedException, DownloadError, AccessDeniedError, AccessPermissionExpiredError, AnonymousAccessDeniedError
  from datalad.utils import try_multiple_dec
  from urllib.request import urlopen, Request
label_desc: Use image node_id 13 for calling a global function with example usage: gen_bucket_test1_dirs() without return types