fix database file find