public void saveCollection(String fileName) {
		//open the file
		File file = new File(new Direc().get(), fileName);
		BufferedWriter bufferedWriter = null;
		try {
			bufferedWriter = new BufferedWriter(new FileWriter(file));
			writeCollection(bufferedWriter);
		} catch (FileNotFoundException ex) {
			System.err.println("Caught FileNotFoundException: "
			+ ex.getMessage());
		} catch (IOException ex) {
			System.err.println("Caught this IOException: " + ex.getMessage());
		} finally {
			//Close the BufferedWriter
			try {
				if (bufferedWriter != null) {
					bufferedWriter.flush();
					bufferedWriter.close();
				}
			} catch (IOException ex) {
				System.err.println("Caught A FINAL IOException: " + ex.
				getMessage());
			}
		}
	}