public static void main( String[] argv  ) {

	try {

	    String filename;
	    String stopMark;
	    if( argv.length >= 1 ) filename = argv[0];
	    else                   filename = "document_root_alpha/example.POST_DATA.txt";

	    if( argv.length >= 2 ) stopMark = argv[1];
	    else                   stopMark = "----WebKitFormBoundaryeANQMKoBwsmwQrYZ";


	    System.out.println( "Using stopMark: " + stopMark  );
	    System.out.println( "Reading file until stopMark will be found ... ");
	    java.io.FileInputStream fin = new java.io.FileInputStream( new java.io.File(filename) );
	    ByteSequenceTokenizer tokenizer = new ByteSequenceTokenizer( fin, 
									 stopMark.getBytes() );
	    
	    InputStream token;
	    int i = 0;
	    while( (token = tokenizer.getNextToken()) != null ) {
		
		int b;
		System.out.println( "Reading bytes from token ["+i+"] ..." );
		int len = 0;
		while( (b = token.read()) != -1 ) {

		    System.out.print( (char)b );
		    len++;

		}


		System.out.println( "\n" + len +" bytes read from token [" + i+ "]." );
		System.out.println( "----------------------------------------------" );

		token.close();

		i++;
	    }

	} catch( IOException e ) {

	    e.printStackTrace();

	}

    }