pruning data file