Simplified output writing