added changes to upload assignment to deal with multiple files.