I think adding the ``file { $mon_data_real: }`` is ok to me, but you should revert to the previous value of ``$mon_data_real`` as the ``$id`` value is not defined & the base path may vary depending on platforms/OS.