Open database when passed as CL parameter