The file format is layer based. For example if you have N_layers. Then the data format is
Vg , dv , N_layer , , ,