protected function getOriginalFile($resource)
    {
        $file = null;
        $path = storage_path('app/' . $resource->path);

        if( ! File::exists($path) ) {
            HCLog::error('R-THUMB-001', 'File not found at path: ' . $path);
        } else if( $resource->isImage() || strpos($resource->mime_type, 'svg') !== false ) {
            $file = File::get($path);
        }

        return $file;
    }