protected function retrieveOutput()
    {
        if ((! config('eyewitness.capture_cron_output')) || (! file_exists($this->output))) {
            return null;
        }

        $text = file_get_contents($this->output);

        if (str_contains($this->output, 'eyewitness_cron_') && file_exists($this->output)) {
            unlink($this->output);
        }

        return substr($text, 0, 15000);
    }