Update nsftool.py

Few changes:

Changed code to use Steve's cleaner ID file method.
renamed and deleted variables.