in reply to Re^3: Creating a new file in a directory
in thread Creating a new file in a directory

That helped a lot. Thanks a lot. Issue is resolved. The variable was a input which was used in different section. Hence, it was not included.
  • Comment on Re^4: Creating a new file in a directory