I updated my code in the original post. The issue now is that it doesn't seem to be storing values in the arrays. The program is intended to output values only found in one array not in both and should output 2 files, one for each. It doesn't print anything.