added tbl flat file parsing