I tested this code and it works. You need to place the code right after my(%rec) = @_; in the routine you are doing this in. If you still can't get it to work, post the url to the files in txt form.
------------------
Chris
------------------
Chris