BixoPlatform platform = new BixoPlatform(AnalyzeMbox.class, options.getPlatformMode());
// Create the input (source tap), which is just a sequence file reader. We assume
// that the file already has the results of splitting the mbox file into emails.
BasePath inputPath = platform.makePath(inputFileName);
platform.assertPathExists(inputPath, "input file");
Tap sourceTap = platform.makeTap(platform.makeBinaryScheme(FetchedDatum.FIELDS), inputPath);
Pipe pipe = new Pipe("Email Analyzer");
pipe = new Each(pipe, new ParseEmailFunction());
// We'll get output that has ANALYZED_EMAIL_FIELDS in it. We want to group by