if you want to write your strings from the list into a file than open first the stream and then iterate to the list and extract the strings, format if needed and redirect the output to the file. Here is a fragment of code that i used to write strings from a ArrayList (myList = new ArrayList<Record>();) to a file on a windows system.

Code:

// First fill the ArrayList with records and then write to file
File file = new File(
"D:/yourFolder/persons.txt");
try {
BufferedWriter out = new BufferedWriter(new FileWriter(file));
it = myList.iterator();

here i write only the name in the record which is a String to the file, but you can expand the example and write all members, depending what you need. if you want to append data to an existing file then open it with new FileWriter(file, true). hope, you got the idea.