public function url($file = null, $extra = null, $rewrite = true) {
        if ($extra === false && $rewrite === true) {
            list($extra, $rewrite) = [null, $extra];
        }
        return url()->to($file, $extra, true, $rewrite);
    }