protected function concat($path1, $path2)
    {
        if (substr($path1, -1) == $this->pathSeparator || substr($path2, 0, 1) == $this->pathSeparator) {
            return $path1 . $path2;
        }
        return $path1 . $this->pathSeparator . $path2;
    }