void readData() {
		List<Short> files = smartID.getFileList();
		InputStream in = null;
		Short fid = BasicService.EF_COM;
		files.remove(fid);
		try {
			fid = BasicService.EF_DG1;
			if (files.contains(fid)) {
				in = smartID.getInputStream(fid);
				dg1file = new DG_1_FILE(in);
				BasicInfo bi = dg1file.getInfo();
				DataPanel.setValue("sur", bi.sur);
				DataPanel.setValue("given", bi.given);
				DataPanel.setValue("gender", bi.gender);
				DataPanel.setValue("dob", bi.dob);
				DataPanel.setValue("pob", bi.pob);
				DataPanel.setValue("issue", bi.issue);
				DataPanel.setValue("expriy", bi.expriy);
				DataPanel.setValue("country", bi.country);
				DataPanel.setValue("authority", bi.authority);
				DataPanel.setValue("id", bi.id);
				files.remove(fid);
			}
			fid = BasicService.EF_DG2;
			if (files.contains(fid)) {
				in = smartID.getInputStream(fid);
				dg2file = new DG_2_FILE(in);
				addPicture("DG2", dg2file.getImage(), dg2file.getMimeType(),
						null);
				savePicture.setEnabled(true);
				files.remove(fid);
			}
			fid = BasicService.EF_DG3;
			if (files.contains(fid)) {
				in = smartID.getInputStream(fid);
				dg3file = new DG_3_FILE(in);
				DataPanel.setValue("emtry", dg3file.emtry);
				files.remove(fid);
			}
			fid = BasicService.EF_DG4;
			if (files.contains(fid)) {
				in = smartID.getInputStream(fid);
				dg4file = new DG_4_FILE(in);
				addPicture("DG4", dg4file.getImage(), dg4file.getMimeType(),
						null);
				files.remove(fid);
			}
			fid = BasicService.EF_DG15;
			if (files.contains(fid)) {
				in = smartID.getInputStream(fid);
				dg15file = new DG_15_FILE(in);
				viewAAKey.setEnabled(true);
				files.remove(fid);
			}
			fid = BasicService.EF_DG14;
			if (files.contains(fid)) {
				in = smartID.getInputStream(fid);
				dg14file = new DG_14_FILE(in);
				viewEACKeys.setEnabled(true);
				files.remove(fid);
			}
			fid = BasicService.EF_SOD;
			if (files.contains(fid)) {
				in = smartID.getInputStream(fid);
				sodFile = new DG_SOD(in);
				viewDocCert.setEnabled(true);
				securityInfo.append(sodFile.toString());
				files.remove(fid);
			}
			// See if there are any files that we did not know
			// how to handle:
			for (Short f : files) {
				System.out.println("Don't know how to handle file ID: "
						+ Hex.shortToHexString(f));
			}
			saveSmartIDcard.setEnabled(true);
		} catch (Exception ioe) {
			ioe.printStackTrace();
		}
	}