public function findFile() { foreach ($this->config->getLookIn() as $path) { if (file_exists($path . DIRECTORY_SEPARATOR . $this->filename)) { return $path . DIRECTORY_SEPARATOR . $this->filename; } } }