I am trying to make a code, that will send files to the serverm and show progress. Sometimes there would be more than one file, but this moment the code breaks and shows it summarry. How can I divide them to see progress for each xhr task?