made it so that we are sending all the file changes at once and only
calling the callback after all files have loaded