I am uploading a file using uploadStoredFiles() method. During upload it shifts the file from the array, and array the emptied during. What I want is if an error occurs from backend during the upload, then the files should come back in the stored files for upload. Cannot figure out how to do it. Help needed.