code: def _recursive_remove_blank_dirs(self, path):
          
          path = os.path.abspath(path)
  
          # never delete root of the storage or smaller paths
          if path == self.path or len(path) <= len(self.path):
              return
  
          # if the path doesn't exists, go one level upper
          if not os.path.exists(path):
              return self._recursive_remove_blank_dirs(
                  os.path.dirname(path)
              )
  
          # if the directory contains files, end yourself
          if os.listdir(path):
              return
  
          # blank directories can be removed
          shutil.rmtree(path)
  
          # go one level up, check whether the directory is blank too
          return self._recursive_remove_blank_dirs(
              os.path.dirname(path)
          )
docs: Make sure, that blank directories are removed from the storage.
  
          Args:
              path (str): Path which you suspect that is blank.