public function downloadReportByFilename(GeneratorListener $listener, $filename)
    {
        if (!$filename) {
            return $listener->downloadFailed();
        }
        $file       = storage_path('temp' . DIRECTORY_SEPARATOR . $filename);
        /* @var $filesystem Filesystem */
        $filesystem = app(Filesystem::class);
        if (!$filesystem->exists($file)) {
            return $listener->downloadFailed();
        }
        return Response::download($file);
    }