these two functions attempt to do the same thing: add data to an existing json file (named file.json) with a top-level array (named data). however, one will not work correctly. state which one will not work and explain why in no more than three sentences.