public function getFile($path) { $path = $this->cleanPath($path); $file = new File(); $file->setPath($path); $file->setFullPath($this->getRoot() . '/' . $path); return $file; }