public function getLink($catalog = '', $i = 0)
    {
        $files = $this->files;
        $file = $this->owner->$files[$i];
        return $this->getFilePath($file->subdir, $catalog) . $file->name;
    }