public static Object read(String path) 
    {
	try
	{
	    XMLDecoder decoder = new XMLDecoder(new BufferedInputStream( new FileInputStream(path)));
	    Object o = (Object)decoder.readObject();
	    decoder.close();
	    return o;
	}
	catch(Exception e){System.out.println(e.toString());return null;}
    }