“If ... the whole object of the proceedings is to protect and promote the best interests of the child, there may be exceptional circumstances in which disclosure of some of the evidence would be so detrimental to the child’s welfare as to defeat the object of the exercise.”