Worm eggs are everywhere in the soil, on the soil, on grass etc...it's impossible to get rid of them. Look up a diagram of roundworm lifecycle and you'll understand how easy it is for chickens to pick up infective eggs. One roundworm lays thousands of eggs in one day, then the eggs are excreted...