code: def create_parent_folder(filename):
      
      path = os.path.dirname(filename)
      if path != '':
          make_folder(path)
docs: Create parent folder for input filename recursively
  
      :param filename: input filename
      :type filename: str
      :raises: error if folder cannot be created