protected function originalPath(File $file, string $thumbSize = null)
    {
        return $file->getOriginal('type')
            .DS.$file->getOriginal('category')
            .($thumbSize ? DS.$thumbSize : '')
            .DS.$file->getOriginal('name').'.'.$file->getOriginal('extension');
    }