if ((args.length > 1) && args[ 1 ].equals("bfd"))
{
POIFSFileSystem fs =
new POIFSFileSystem(new FileInputStream(args[ 0 ]));
InputStream stream =
fs.createDocumentInputStream("Workbook");
int size = stream.available();
byte[] data = new byte[ size ];
stream.read(data);
HexDump.dump(data, 0, System.out, 0);