Multi file upload

This is a pull request into sha256-custom branch.
Implement this as well. :-) If you are here. So we would use progress bar twice, once for preprocessing, the second time for uploading. We can add later on as part of #513 that first time progress bar has a different color than the second time.