State officials joined with local farmers to celebrate the protection of 50,000 acres of farmland throughout Connecticut, including a Shelton farm.