public function path(string $thumbSize = null)
    {
        return $this->attributes['type']
            .DS.$this->attributes['category']
            .($thumbSize ? DS.$thumbSize : '')
            .DS.$this->attributes['name'].'.'.$this->attributes['extension'];
    }