db file check