added flags to output tagger results to file