Reverting from corrupted files