add tsv file support and remove unnecessary code….