                         }
                     }
                 }
-        })
+            }
+        )
     }
     // MARK: - Upload file to hat wrapper
     

                    progressUpdateHandler: {(progress) -> Void in
                        
                        progressUpdater?(progress)
                },
                    completion: {(_) -> Void in
                        
                        HATFileService.completeUploadFileToHAT(

                            userDomain: userDomain,
                            completion: {(uploadedFile, renewedUserToken) -> Void in
                                
                                var tempFile = fileObject
                                tempFile.status.status = uploadedFile.status.status
                                completion?(tempFile, renewedUserToken!)
                            },
                            errorCallback: {(error) -> Void in
                                
                                errorCallBack?(error)
                            }
                        )
                    }
                )
            },
            errorCallback: {(error) -> Void in
                
                errorCallBack?(error)
            }
        )
    }
    
}
