Thank you. Have updated the script.
In reply to Re^3: new file per line output by Kenosis in thread new file per line output by monteryjack