def return_file_names_to_parse(self, files_list: list):
        """Return list of file names which are generated 15 mins ago to parse.

        Args:
            files_list (list): List of file names in the azure file share.

        Returns:
            list: List of file names to parse.
        """
        __method_name = inspect.currentframe().f_code.co_name
        # take each file name from the list and split the file name using '_'
        # Then get the 2nd element from the right and
        # if that epoch value is less than current_epoch (1 Hr) then add it to the list return it.
        try:
            current_epoch = int(datetime.datetime.now(datetime.timezone.utc).timestamp())
            list_of_prefix_file = []
            for file_name in files_list[:]:
                file_name_split = file_name.split("_")
                file_name_epoch = int(file_name_split[-2])
                if len(file_name_split) < 7:
                    list_of_prefix_file.append(file_name)
                    files_list.remove(file_name)
                elif (len(file_name_split) == 7) and (
                    (file_name_epoch + consts.TIME_BUFFER_RAW_EPOCH_VALUE) >= current_epoch
                ):
                    files_list.remove(file_name)
            list_of_prefix_file = tuple(list_of_prefix_file)
            for file_name in files_list[:]:
                if file_name.startswith(list_of_prefix_file):
                    files_list.remove(file_name)

            applogger.info(
                consts.LOG_FORMAT.format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    consts.PARSE_RAW_JSON_DATA_FUNCTION_NAME,
                    "Files to be parsed = {}, Count = {}".format(files_list, len(files_list)),
                )
            )
            return files_list
        except (ValueError, TypeError) as error:
            applogger.error(
                consts.LOG_FORMAT.format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    consts.PARSE_RAW_JSON_DATA_FUNCTION_NAME,
                    error,
                )
            )
            raise InfobloxException()
        except Exception as error:
            applogger.error(
                consts.LOG_FORMAT.format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    consts.PARSE_RAW_JSON_DATA_FUNCTION_NAME,
                    "Error while getting list of files to be parsed: {}".format(error),
                )
            )
            raise InfobloxException()
Return list of file names which are generated 15 mins ago to parse.

        Args:
            files_list (list): List of file names in the azure file share.

        Returns:
            list: List of file names to parse.
        
Solutions/Infoblox/Data Connectors/InfobloxCloudDataConnector/InfobloxParseRawIndicators/parse_json_files.py