Rewrote activity file read.table routine