Checking db file