Strip diff object into separate file