fixed bug that was miscalculating the relative bad lines for accumulated files