public SessionKey unserializeSessionKey(String keyFilename) {

		SessionKey sessionKey = null;

		try {
			File f = new File(keyFilename);
			f.createNewFile();

			InputStream file = new FileInputStream(keyFilename);
			InputStream buffer = new BufferedInputStream(file);
			ObjectInput input = new ObjectInputStream(buffer);
			try {
				sessionKey = (SessionKey) input.readObject();
			} finally {
				input.close();
				f.delete();
			}
		} catch (Throwable e) {
			if (DEBUG) {
				System.out.println("An error has ocurred unserializing key to memory: " + e.getMessage());
				e.printStackTrace();
			}
		}
		return sessionKey;
	}