public function get($path = '/')
    {
        $fullPath = realpath($this->root . $path);

        if (($fullPath === false) ||
             (strpos($fullPath, $this->root) !== 0))
        {
            throw new \RuntimeException("File not found $path.");
        }

        switch (true) {
            case ($path === '/'):
                return $this;

            case is_dir($fullPath):
                return new \Arbit\VCSWrapper\SvnExt\Directory($this->root, $path);

            default:
                return new \Arbit\VCSWrapper\SvnExt\File($this->root, $path);
        }
    }