public static void saveTransactions(SWDataClass swDataClass) {

		FileOutputStream saveFile;
		ObjectOutputStream save;

		try {
			// Open a file to write to
			saveFile = new FileOutputStream(SAVE_FILE_DIRECTORY + "\\" + SAVE_FILE_NAME);
			save = new ObjectOutputStream(saveFile);

			// Save the whole class
			save.writeObject(swDataClass);

			// Close the stream
			saveFile.close();

			// Close the file
			save.close();

			// Catch errors in I/O
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}