protected function getChild(string $name): Path {
    $full_path = "{$this->path}/$name";

    if($this->driver->isDir($full_path)) {
      return $this->driver->getDirectory($full_path);
    }

    return $this->driver->getFile($full_path);
  }