Added file to slice a 3D data array into 2D data arrays