def iterate_chunks_and_upload_indicators(
        self,
        chunked_data,
        file_item,
        stored_indicator_count,
        state_file_obj,
        count_state_obj,
    ):
        """Iterate through chunked data and uploads indicators to a storage location.

        Args:
            chunked_data: A list of data chunks to process.
            file_item: The file item to work on.
            stored_indicator_count: The count of stored indicators.
            state_file_obj: The state file object.
            count_state_obj: The count state object.
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            index = 0
            filtered_indicators = 0
            for chunk in chunked_data:
                if int(time.time()) >= self.start + consts.FUNCTION_APP_TIMEOUT_SECONDS:
                    raise InfobloxTimeoutException()

                mapped_data = self.mapping_obj.map_threat_data(chunk)
                applogger.info(
                    self.log_format.format(
                        consts.LOGS_STARTS_WITH,
                        __method_name,
                        self.azure_function_name,
                        "File name = {}, Uploading {} Indicators, index = {}".format(
                            file_item, len(mapped_data), index
                        ),
                    )
                )
                if len(mapped_data) != 0:
                    filtered_indicators += len(mapped_data)
                    self.upload_indicator(mapped_data)
                stored_indicator_count += len(chunk)
                applogger.info(
                    self.log_format.format(
                        consts.LOGS_STARTS_WITH,
                        __method_name,
                        self.azure_function_name,
                        "Indicator Count to post to Checkpoint file : {}".format(
                            stored_indicator_count,
                        ),
                    )
                )
                self.post_checkpoint_data(
                    count_state_obj,
                    str(stored_indicator_count),
                )
                index += 1

            self.post_checkpoint_data(count_state_obj, "")
            state_file_obj.delete()
            applogger.info(
                self.log_format.format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    self.azure_function_name,
                    "File deleted = {}, Total indicators = {}, Filtered indicators = {}".format(
                        file_item, stored_indicator_count, filtered_indicators
                    ),
                )
            )
        except InfobloxTimeoutException:
            raise InfobloxTimeoutException()
        except InfobloxException:
            raise InfobloxException()
        except Exception as error:
            applogger.error(
                self.log_format.format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    self.azure_function_name,
                    "Unexpected error : Error-{}".format(error),
                )
            )
            raise InfobloxException()
Iterate through chunked data and uploads indicators to a storage location.

        Args:
            chunked_data: A list of data chunks to process.
            file_item: The file item to work on.
            stored_indicator_count: The count of stored indicators.
            state_file_obj: The state file object.
            count_state_obj: The count state object.
        
Solutions/Infoblox/Data Connectors/InfobloxCloudDataConnector/AzureStorageToIndicators/create_indicator.py