Add write part for Flexpath staging