diff --git a/shared/templates/template_OVAL_file_groupowner b/shared/templates/template_OVAL_file_groupowner
index da1364e..e1bfdd5 100644
--- a/shared/templates/template_OVAL_file_groupowner
+++ b/shared/templates/template_OVAL_file_groupowner
@@ -19,7 +19,7 @@
<unix:group_id datatype="int">{{{ FILEGID }}}</unix:group_id>
</unix:file_state>
<unix:file_object comment="{{{ FILEPATH }}}" id="object_file_groupowner{{{ FILEID }}}" version="1">
- <unix:path>{{{ FILEDIR }}}</unix:path>
+ {{{ UNIX_DIR }}}
{{{ UNIX_FILENAME }}}
</unix:file_object>
</def-group>
diff --git a/shared/templates/template_OVAL_file_owner b/shared/templates/template_OVAL_file_owner
index 758b6c3..8b716b6 100644
--- a/shared/templates/template_OVAL_file_owner
+++ b/shared/templates/template_OVAL_file_owner
@@ -19,7 +19,7 @@
<unix:user_id datatype="int">{{{ FILEUID }}}</unix:user_id>
</unix:file_state>
<unix:file_object comment="{{{ FILEPATH }}}" id="object_file_owner{{{ FILEID }}}" version="1">
- <unix:path>{{{ FILEDIR }}}</unix:path>
+ {{{ UNIX_DIR }}}
{{{ UNIX_FILENAME }}}
</unix:file_object>
</def-group>