public static boolean writeCSV(RosterDB rosterDB, String absolutePath) {
		// create output file
        FileWriter outputStream = null;

	    try {
	    	outputStream = new FileWriter(absolutePath);
	    	outputStream.write("Name,Vorname,Handy,Aspirant\n");
	    	for (Roster r: rosterDB.getRosters()) {
		    	outputStream.write(	r.getFamilyName() + "," + r.getGivenName() + "," + 
		    						r.getPhoneNumber() + "," + r.getIsAspirant() + "\n");
	    	}
	    	
	    } catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} finally {
	    	if (outputStream != null) {
	    		try {
					outputStream.close();
				} catch (IOException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
	    	}
	    }
		
		return true;
	}