Hi Robert,
Instead of hardcoding the file name, you can use StringTemplate to dynamically generate the file name.
StringTemplate
{k1, k2, k3} = {3, 4, 5}; StringTemplate["output_``_``_``.dat"][k1, k2, k3] (* output_3_4_5.dat *)
Thank you. This works great!