allow full specification of uploadPath