added selective file erase