non-empty-string $path:
public function contains(string $path) : bool { return isset($this->files[$path]); }