validate provided database file.