When testing uploading multiple files to a collection it merged the filenames and only uploaded one file to the correct directory.