public static void saveData(Bookmark saveBookmark){
		ObjectOutputStream output = null;

		//Open file for writing
		try {
			output = new ObjectOutputStream(new FileOutputStream("bookmarks.data"));
		} catch (FileNotFoundException e) {
			System.out.println("File could not be opened.");
		} catch (IOException e) {			
			e.printStackTrace();
		}

		if(output != null){

			//Write to file
			try {
				output.writeObject(saveBookmark);
			} catch (IOException e1) {
				e1.printStackTrace();
			}


			//Close output
			try {
				output.close();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}