Multi file upload

This is a pull request into sha256-custom branch.
Mark such debugging prints for removal later, before we pull this in.