adds log file