public function file($name = null, $default = null)
    {
        $files = $this->request['files'];

        if (isset($name)) {
            return !empty($files[$name]['name']) ? $files[$name] : $default;
        }

        return $files;
    }