extract removed sections into file