def get_failed_indicator_files(self, parent_dir):
        """Get failed indicator's file names.

        Args:
            parent_dir (ShareDirectory.from_connection_string): Object of ShareDirectory to perform operations
            on file share.

        Returns:
            list: list of file names of failed indicators
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            files_list = list(parent_dir.list_directories_and_files())
            file_names = []
            if (len(files_list)) > 0:
                for file in files_list:
                    file_names.append(file["name"])
                return file_names
            else:
                return None
        except ResourceNotFoundError:
            applogger.info(
                "{}(method={}) : {} : No Failed Indicators File Found.".format(
                    LOGS_STARTS_WITH, __method_name, RETRY_FAILED_INDICATORS
                )
            )
            return None
        except Exception as error:
            applogger.error(
                "{}(method={}) : {} : error while getting list of files, Error : {}.".format(
                    LOGS_STARTS_WITH,
                    __method_name,
                    RETRY_FAILED_INDICATORS,
                    error,
                )
            )
            raise CofenseException()
Get failed indicator's file names.

        Args:
            parent_dir (ShareDirectory.from_connection_string): Object of ShareDirectory to perform operations
            on file share.

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