made csvGallery read mirror write format