Returning both written file and data
Updated docs
Version bump