After being given the solution on how to extract the needed info from a JSON file, I now need to direct that output into a new file. The code for extracting is: