extract database file path