use simpler way of handling tsv files