Added dynamic folder to store log files