Complex sentence: Many spiny lobsters produce rasping sounds to repel predators by rubbing the "plectrum" at the base of the spiny lobster's antennae against a "file".
Split into simpler sentences: Many spiny lobsters produce rasping sounds to repel predators. This is done by rubbing the "plectrum" at the base of the spiny lobster's antennae against a "file".