protected function removeDotsFromPath(){        
        if($this->parentLink !==null){
            $newUri = \GuzzleHttp\Psr7\UriResolver::resolve($this->parentLink,$this);
        }else{
            $newUri = $this;
        }
        $finalPath = \GuzzleHttp\Psr7\UriResolver::removeDotSegments($newUri->getPath());
        
        return $finalPath;
    }