public function getUrl() { if ($this->url) { return $this->url; } else { return $this->currentFileName; } }