sloppy way of uploading multiple files