Remove unused fields from data file.