private function getFile($file, $fromTheme) {
        $this->updateAssets($file);

        if (!$fromTheme && is_readable($this->publicAssetsPath . $this->view->getModule() . DIRECTORY_SEPARATOR . $file)) {
            return $this->parseFile($this->view->getModule() . DIRECTORY_SEPARATOR . $file);
        }
        elseif (is_readable($this->publicAssetsPath . engineGet('config', 'defaults', 'theme') . DIRECTORY_SEPARATOR . $file)) {
            return $this->parseFile(engineGet('config', 'defaults', 'theme') . DIRECTORY_SEPARATOR . $file);
        }
        else {
            return 'not-found/' . $file;
        }
    }