Detect corrupted database files