code: def get_parent_folder_name(file_path):
      
      return os.path.split(os.path.split(os.path.abspath(file_path))[0])[-1]
docs: Finds parent folder of file
  
      :param file_path: path
      :return: Name of folder container