public static void dumpCSVToSimpleFile(File out, char sep, ICSVProvider csv) throws IOException {
		PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter(out)));
		SortedMap<Integer, String> header = csv.getColumnNames();
		{
			Iterator<Integer> it = header.keySet().iterator();
			while (it.hasNext()) {
				Integer i = it.next();
				pw.print(header.get(i));
				if (it.hasNext()) {
					pw.print(sep);
				}
			}
			pw.println();
		}
		for (SortedMap<Integer, Object> row : csv) {
			Iterator<Integer> it = row.keySet().iterator();
			while (it.hasNext()) {
				Integer i = it.next();
				pw.print(row.get(i));
				if (it.hasNext()) {
					pw.print(sep);
				}
			}
			pw.println();
	
		}
		pw.close();
	}