Update dict_revision.py

Delete function finalized.  process: read file into memory, filter it with list comprehension in a copied list, write copied list back to file.