Subject: added seperate function to check/create log file.

Description:

`insert-shebang-create-log-file'