Grating was the act of shredding a food product into small pieces.
In 1944, Doctor Phlox offered Porthos chicken liver with grated cheddar cheese, which the beagle refused. (ENT: "Storm Front")