private function preUploadFile($exception)
    {
        $datas = [];
        foreach($this->fileOptions as $options) {
            $result = $this->uploadFile($options);
            if ($result !== false) {
                $datas[] = $result;
            }
        }

        if ( ! empty($datas) && ! $this->fillModel($datas)) {
            throw new $exception($this->request->all());
        }
    }