public function path($file, $theme = null)
    {
        if (is_null($theme)) {
            $theme = $this->getCurrent();
        }

        return $this->config['paths']['base']."/$theme/$file";
    }