The store to database server behavior should stay on the confirm page, and any added functionality should be added to the confirm page before it is redirected on your check out success page.
As far as using a file to store subscribers, i'm not clear on how you are going to achieve that.
if you could expand a little more on how you are going do that?