upload handler: test if already exists.