Multi file upload

This is a pull request into sha256-custom branch.
It is used in ```uploadFile```, not just for _id.