added write( String filename ) to BMLNNV