Reverting changes which delete folders