public void exportAsCSV() throws IOException{
		out.write("address;date;text");
		out.newLine();
		for (SMS s : sms) {
			out.append(s.getAddress() + ";"+DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(s.getDate())+ ";"+s.getText());
			out.newLine();
		}
		out.close();
	}