Refacored parcel read/write generation