File writer write partial content for patch