Log file can be given as a parameter
Log file can be given as a parameter