Extracted generic bulk writer