diff --git a/modules/util/util.py b/modules/util/util.py
index 15f31e1d68835ed7281a48a5c7fc3d1010f24e80..3e5100f1e8860576c0c1e91a04553e3b2d540e7c 100644
--- a/modules/util/util.py
+++ b/modules/util/util.py
@@ -560,8 +560,9 @@ def make_for_full_domain_predict(h5f, name_list=None, satellite='GOES16', domain
 # -------------------------------------------------------------------------------------------
 
 
-def write_icing_file(outfile, clvrx_str_time, preds, x, y, lons, lats):
-    h5f_out = h5py.File(outfile+'_'+clvrx_str_time, 'w')
+def write_icing_file(clvrx_str_time, preds, x, y, lons, lats):
+    outfile_name = homedir + 'icing_prediction_'+clvrx_str_time+'.h5'
+    h5f_out = h5py.File(outfile_name+'_'+clvrx_str_time, 'w')
 
     icing_pred_ds = h5f_out.create_dataset('icing_prediction', data=preds, dtype='i2')
     icing_pred_ds.attrs.create('coordinates', data='y x')