check file existence correctly if the script file is specified via absolute path
fix npe in file constructor
Merge branch 'feature/fix-absolute' into develop

* feature/fix-absolute:
  fix npe in file constructor
  check file existence correctly if the script file is specified via absolute path