Implement multiple file upload.

@blumentanz is it ok to merge this ?