private static void doCompare() throws MVDToolException
	{
		try
		{
			MVD mvd = loadMVD();
			if ( version == 0 || with == 0 )
				throw new MVDToolException( 
					"can't compare version="+version+" with version "+with );
			Chunk[] chunks = mvd.compare( version, with, uniqueState );
			if ( mvd.getEncoding().toUpperCase().equals("UTF-8") )
                out.write( UTF8_BOM, 0, UTF8_BOM.length );
            for ( int i=0;i<chunks.length;i++ )
			{
				char[] chars = chunks[i].getChars();
				out.print( chars );
			}
		}
		catch ( Exception e )
		{
			throw new MVDToolException( e );
		}
	}