diff --git a/tests/histval_initval_file/ramst_initval_file.mod b/tests/histval_initval_file/ramst_initval_file.mod
index 8e72fe7504468eb7ca84ade8584a801c74891de6..fb0bf9293623b9c4b33b69b6f981a946f9df93e7 100644
--- a/tests/histval_initval_file/ramst_initval_file.mod
+++ b/tests/histval_initval_file/ramst_initval_file.mod
@@ -24,7 +24,7 @@ end;
 
 steady;
 
-initval_file(filename = ramst_initval_file_data_row_vec_mat);
+initval_file(datafile = ramst_initval_file_data_row_vec_mat);
 perfect_foresight_setup(periods=200);
 if oo_.exo_simul(2) ~= 1.2
   error('initval_file problem with exogenous variable');
@@ -40,7 +40,7 @@ end
 oo_.exo_simul = [];
 oo_.endo_simul = [];
 
-initval_file(filename = ramst_initval_file_data_col_vec_mat);
+initval_file(datafile = ramst_initval_file_data_col_vec_mat);
 
 perfect_foresight_setup(periods=200);
 if oo_.exo_simul(2) ~= 1.2
@@ -55,7 +55,7 @@ if ~oo_.deterministic_simulation.status
 end
 
 if ispc()
-    initval_file(filename = ramst_initval_file_excel);
+    initval_file(datafile = ramst_initval_file_excel);
     perfect_foresight_setup(periods=200);
     perfect_foresight_solver;
     if ~oo_.deterministic_simulation.status