Your confusing how and when to use shift registers and locals...The logic should be as follows;
If new file has been double-clicked read the array from it and add it with the results from the previous addition. Wire the result to a shift register and use the left terminal of the shift register to get the previous result used in the addition...
Attached is a picture showing this.
You may also want to put the save case outside the double-clicked case so that you can save whenever you want and not just the next time you double-click(?)..