Are you aware that the filename you chose isn't like the other filenames in the other script?

Shouldnt:

sreglist.txt

Be:

reglist.txt