code: def _folder_or_file_constructor(dds_connection, data_dict):
          
          kind = data_dict['kind']
          if kind == KindType.folder_str:
              return Folder(dds_connection, data_dict)
          elif data_dict['kind'] == KindType.file_str:
              return File(dds_connection, data_dict)
docs: Create a File or Folder based on the kind value in data_dict
          :param dds_connection: DDSConnection
          :param data_dict: dict: payload received from DDSConnection API
          :return: File|Folder