if (end.equals(".gif") || end.equals(".jpg")) { new imageViewer(target); }
	public void run() {		makeBase64(target);		try {			InputStream is = new BufferedInputStream(					new FileInputStream(target + ".tmp"));			OutputStream os = new BufferedOutputStream(					new FileOutputStream(target));			BASE64Decoder b64dc = new BASE64Decoder();			b64dc.decodeBuffer(is, os);			String end = target.substring(target.lastIndexOf("."),						target.length()).toLowerCase();			is.close();			os.close();			if (end.equals(".gif") || end.equals(".jpg")) {				new imageViewer(target);			}			new File(target + ".tmp").delete();		} catch (IOException e) {			System.err.println(e);		}	}