Well, report the cases that warranted prosecution. We have come from a place where no priest could be held accountable to where every priest is presumed guilty. At bottom, the problem is clericalism, the notion that priests form a privileged class in the Church. Which, ironically, is why priests remain celibate, to make sure that the presbyterate not become hereditary. or an actual caste.
You are right: The policy mandated clerical celibacy was put into place during the Middle Ages to combat corruption and nepotism and to make sure Church property was not inherited.
In today’s world, that policy should be revisited. The policy seems to have contributed the pedophilia scandal. There is nothing in the Bible, the Old Testament or the New Testament, or anything in the Gospels or the teachings of Jesus which mandate a celibate priesthood.
In fact in the early Church, popes, bishops, and priests were married, the majority of them were married until the 11th and 12th centuries.