Trying to add support for saving results to files upon model run completion