I\'m trying to output some arrays to a file "output.txt". I run this code with no errors but no output file seems to be created to the working directory