public static void saveAsASCII(NSArray root,File out) throws IOException {
  OutputStreamWriter w=new OutputStreamWriter(new FileOutputStream(out),"ASCII");
  w.write(root.toASCIIPropertyList());
  w.close();
}

public static void saveAsASCII ( NSArray root , File out ) throws IOException { OutputStreamWriter w = new OutputStreamWriter ( new FileOutputStream ( out ) , "ASCII" ) ; w . write ( root . toASCIIPropertyList ( ) ) ; w . close ( ) ; }
saves a property list with the given object as root into a ascii file .
