Hello, SOLVED This is what I need: Work on all the files in the folder DONE!***rename the file currently working on to something like: tmp.tmp...DONE!Run the regex command on it and pipe the results to temp file...DONE!I can not seem to be able to operate on the files at all. DONE I found a way after reading multiple posts all over the board, and lots of sweat! SOLVED.._filelisttoarray is your best friend Thank you very much for you help and patience! MODS if you could please close this thread. Thank you,