Added initial file pass to determine total number of reads to be processed.