Format of a text file

Hello,

I have two arrays “array1” and “array2”. I load the values in array1 by reading images1.txt and load the values in array2 by reading images2.txt.

The following is the code for reading the text from file “images1.txt” and loading into array1.

Images1=a1.jpg|a2.jpg|a3.jpg|a4.jpg|a5.jpg|a6.jpg

m = new LoadVars();
m.load(‘images1.txt’, this);
m.onLoad = function(ok) {
//Builds the file array
if (ok) {
array1 = this.Images1.split("|");
}
};

This works fine. Similarly I read the text from “images2.txt” and load the array2.

Now my question is Can I load both array1 and array2 by reading from a single text file? If so, what should be the format for my combined text file.

Shown below is the format for my individual text files.

“images1.txt”
Images1=a1.jpg|a2.jpg|a3.jpg|a4.jpg|a5.jpg|a6.jpg

“images2.txt”
Images2=b1.jpg|b2.jpg|b3.jpg|b4.jpg|b5.jpg|b6.jpg

Thoughts?
-sharvan