added database option
check if the database file exists