attach database file.