Fork of http://github.com/brendano/tsvutils