public static Object readObject(String filename)
	{
		ObjectInputStream in = null;
		Object result = null;
		try {
			in = new ObjectInputStream(new BufferedInputStream(new FileInputStream(filename)));
			result = in.readObject();
		} catch (FileNotFoundException e) {
		} catch (Exception e) {
			e.printStackTrace();
		} finally {
			if (in != null)
			{
				try { in.close(); } catch (IOException e) { }
			}
		}
		return result;
	}