public function getFileName() { if (str_contains($this->name, '.')) { return $this->name; } return $this->name . '.' . $this->extension; }