start of pset5, file recovory