You could also do it on the command line:
cat *.txt | perl myscript.pl [download]
In reply to Re: concatenating text files before reading by hdb in thread concatenating text files before reading by Hossein