Added readfile, cntPrty, anlz and strTobin