Fix formatting
Added functionality to zip to memory