public function download($query, $filename)
    {
        $this->query      = $query;
        $this->modelClass = get_class($query->getModel());

        $temporary = $this->generateExport();

        if ( ! $temporary) {
            return false;
        }

        return response()->download($temporary, $filename)->deleteFileAfterSend(true);
    }