Some changes to model 2 after deciding to save one txt file for each case