Parse function, and maintenance of .act files so that total records can quickly be counted.