def return_file_names_to_query_in_the_current_execution(self, file_names_list):
        """Return the file names to query in the current execution.

        Args:
            file_names_list (list): list of file names

        Returns:
            list: list of file names.
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            files_to_query_in_current_execution = []
            now = datetime.now(timezone.utc)
            one_hour_ago = now - timedelta(hours=1)
            for file in file_names_list:
                if file.isnumeric() and int(file) < int(one_hour_ago.timestamp()):
                    files_to_query_in_current_execution.append(file)
            applogger.info(
                "{}(method={}) : {} : Found {} failed Indicator files.".format(
                    LOGS_STARTS_WITH,
                    __method_name,
                    RETRY_FAILED_INDICATORS,
                    len(files_to_query_in_current_execution),
                )
            )
            return files_to_query_in_current_execution
        except Exception as error:
            applogger.error(
                "{}(method={}) : {} : Error in returning which files to process, Error : {}.".format(
                    LOGS_STARTS_WITH,
                    __method_name,
                    RETRY_FAILED_INDICATORS,
                    error,
                )
            )
            raise CofenseException()
Return the file names to query in the current execution.

        Args:
            file_names_list (list): list of file names

        Returns:
            list: list of file names.
        
Solutions/CofenseTriage/Data Connectors/CofenseTriageDataConnector/RetryFailedIndicators/retry_failed_indicators.py