added multi-file upload ability

added multi-file upload ability when key is an array of files