public function preview($file_name)
	{
		if (!\Entrust::can('preview-logs')) {
	        abort(403, 'Unauthorized access - you do not have the necessary permission to preview logs.');
	    }

		$disk = Storage::disk('local');

		if ($disk->exists('logs/'.$file_name)) {
			$this->data['log'] = [
									'file_path' => 'logs/'.$file_name,
									'file_name' => $file_name,
									'file_size' => $disk->size('logs/'.$file_name),
									'last_modified' => $disk->lastModified('logs/'.$file_name),
									'content' => $disk->get('logs/'.$file_name),
									];

			return view("logmanager::log_item", $this->data);
		}
		else
		{
			abort(404, "The log file doesn't exist.");
		}
	}