public function fancyUpload(Request $request, $transformConfig = [], $appendedPath = null)
    {
        if ($request->hasFile('file')) {
            foreach ($request->file('file') as $file) {
                if ($file->isValid()) {
                    $uploadedFile = $this->uploadFile($file, $transformConfig, $appendedPath);

                    // Generate return information
                    if ($uploadedFile) {
                        return $this->generateFancyUploadResponse($request, $uploadedFile);
                    }
                } else {
                    throw new UploadException('File not valid.');
                }
            }
        }

        throw new UploadException('No valid files to upload');
    }