remove useless debugging
Added support to upload multiple files to 'upload'