TemplateForensics: reorganized some code. No functional change #ignore
TemplateForensics: reorganized some code. No functional change #ignore

s9e/TextFormatter,s9e/TextFormatter,s9e/TextFormatter,s9e/TextFormatter