perl script to decode the nbf contents.