Open database with password and key files