diff --git a/files.py b/files.py
index 4e1eaef29b5a3ca0ed18e2897031846d557ebb8a..a0b151936c09a2e8ce85f90b8e8a09113734db02 100644
--- a/files.py
+++ b/files.py
@@ -43,8 +43,9 @@ def get_file(section, name):
     if not os.path.isabs(input_file):
         input_file = os.path.join(_get_dir(section), input_file)
 
+    var_format = section.main['JOB'].get('.var_format', '${%s}')
     result = re.sub(r'\$\{(\w+)\}',
-                    lambda m: section.main.get(m.group(1), '${'+m.group(1)+'}'),
+                    lambda m: section.main.get(m.group(1), var_format%m.group(1)),
                     input_file)
 
     return result