Revision 29: 1. add -f flag for xml and tsv file type 2. output tsv file format

1. add -f flag for xml and tsv file type
2. output tsv file format