I need to:

1.Display all atdf files ( big files) on the web app( using Response. instead of console.
2. At the same time, in the ATDF file, i need to do summation between two lines:

Here my ATDF line i need to do summation:
PCR:1|0|3178|0| 0|2939
PCR:||3178|0|0| 2939

After summation: The PCR line show only single line and total for each own column.