Add handler for log files