Updated dataStat to work with gz format.