public static function sendOutput(ActiveWindow $context, $fileName, $content)
    {
        $mimeType = FileHelper::getMimeTypeByExtension($fileName);
        
        $url = $context->createDownloadableFileUrl($fileName, $mimeType, $content);
        
        return $context->sendSuccess(Module::t('callback_button_file_download_widget_success'), ['url' => $url]);
    }