Multi file upload

This is a pull request into sha256-custom branch.
If you are adding new fields, initialize them here.