diff --git a/newmodeljsonparse.py b/newmodeljsonparse.py
index 68e30ddfaced917ab2bc5f7d1f0213e142e037a5..ee8c7a4cb2a2fb6f099ebeaac2b3d5cc0557eb09 100644
--- a/newmodeljsonparse.py
+++ b/newmodeljsonparse.py
@@ -273,7 +273,7 @@ def instantiate(typesdict, interfaces, jsoncomponents):
 def main():
     try:
         JSON_MODEL = sys.argv[1][:-5]
-        if not os.path.exists(os.path.join('..', 'SOIL OPC-UA', f'{JSON_MODEL}.json')):
+        if not os.path.exists(os.path.join('..', 'soil-opc-ua', f'{JSON_MODEL}.json')):
             raise Exception()
     except Exception as e:
         print('You must provide a file from the folder to be used as root file of the parsing, e.g., "python jsonparser.py model.json".')