def delete_file_from_file_share(self, file_name, parent_dir):
        """Delete the file from azure file share.

        Args:
            file_name (str): name of the file to delete
            parent_dir (ShareDirectory.from_connection_string): Object of ShareDirectory to perform operations
            on file share.
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            parent_dir.delete_file(file_name)
        except ResourceNotFoundError:
            applogger.info(
                "{}(method={}) : {} : No Failed Indicators File Found, filename-{}.".format(
                    LOGS_STARTS_WITH,
                    __method_name,
                    RETRY_FAILED_INDICATORS,
                    file_name,
                )
            )
        except Exception as error:
            applogger.error(
                "{}(method={}) : {} : error while deleting file, Error : {}.".format(
                    LOGS_STARTS_WITH,
                    __method_name,
                    RETRY_FAILED_INDICATORS,
                    error,
                )
            )
            raise CofenseException()
Delete the file from azure file share.

        Args:
            file_name (str): name of the file to delete
            parent_dir (ShareDirectory.from_connection_string): Object of ShareDirectory to perform operations
            on file share.
        
Solutions/CofenseTriage/Data Connectors/CofenseTriageDataConnector/RetryFailedIndicators/retry_failed_indicators.py