private void exportSubscribers(List<Subscriber> subs, SubscriberPrinter sp) throws IOException {
		JFileChooser jfc = new JFileChooser();
		jfc.setFileSelectionMode(JFileChooser.FILES_ONLY);
		int returnVal = jfc.showSaveDialog(jf);
        if (returnVal == JFileChooser.APPROVE_OPTION) {
        	File file = jfc.getSelectedFile();
        	if(file.exists() && JOptionPane.showConfirmDialog(jf, "File exists, overwrite?") == JOptionPane.OK_OPTION) {
	        	if(!file.exists() && !file.createNewFile() ) {
	            	JOptionPane.showMessageDialog(jf,"Can't create new file, try again");
	            } else if(!file.canWrite()) {
	            	JOptionPane.showMessageDialog(jf,"Unable to write to that file");
	            } else {
	                PrintWriter outFile = new PrintWriter(new BufferedWriter(new FileWriter(file)));
	                for(Subscriber s : subs) {
	                	outFile.println(sp.print(s));
	                }
	                outFile.flush();
	                outFile.close();
	            	JOptionPane.showMessageDialog(jf,"Exported " + subs.size() + " subscribers to file successful!");
	            }
        	}
        }
	}