extract volume and dimension from data file