public static Object deserializeStream(final String witness)
			throws Exception {
		FileInputStream fileIs = new FileInputStream(witness);
		ObjectInputStream objIs = new ObjectInputStream(fileIs);

		return objIs.readObject();
	}
Deserializes a specified file.

@param witness
           serialization file, may not be null.
@return deserialized object.
@throws Exception
            thrown on IO or deserialization exception.
olv-core/src/test/java/pl/otros/logview/accept/query/org/apache/log4j/util/SerializationTestHelper.java