Probably because you're not closing out the file b...
# suitescript
n
Probably because you're not closing out the file before you start the next one I'd guess.