forgot to add the call to saveFile