Changed code to use a single log file by passing log file handle
Merge branch 'master' of https://github.com/vinodnaik/Misc