I would just like to add...if you dont want to be able to read (by eye) the file very easily you can wire the 3D array directly to the write to file function, without converting to spreadsheet string first. This is actually slightly more efficient on memory, but the file is alot harder to read (by eye).
Kim