public function validate() { if (!is_readable($this->path)) { throw new UnreadablePathException("Unable to read the path" . $this->path); } return true; }