+ local traptype = block1:sub(25,28)
+
+ -- Write dump to files
+ if not DEBUG then
+ local foo = dumplib.SaveAsBinary(bindata, outputTemplate..'_uid_'..uid..'.bin')
+ print(("Wrote a BIN dump to: %s"):format(foo))
+ local bar = dumplib.SaveAsText(emldata, outputTemplate..'_uid_'..uid..'.eml')
+ print(("Wrote a EML dump to: %s"):format(bar))
+ end