Connect to database file.