public static function files($name = null)
    {
        $files = app()->request->getUploadedFiles();

        if (is_null($name)) {
            return $files;
        }

        if (isset($files[$name])) {
            return $files[$name];
        }

        return null;
    }