adding log file as param