- added feature to either delete or keep the entries