Fix:Synchronize uploadFile()