Added support for tsv files, including a template