fix chaining problem with parsing list of files
maintain output of number of parsed files