debug file recovering