If the motion is denied, the court may, after an opportunity for a hearing, require the moving party or the attorney advising the motion or both of them to pay to the party or deponent who opposed the motion the reasonable expenses incurred in opposing the motion, including attorney's fees, unless the court finds that the making of the motion was substantially justified or that other circumstances make an award of expenses unjust.
If the motion is granted in part and denied in part, the court may apportion the reasonable expenses incurred in relation to the motion among the parties and persons in a just manner.
In lieu of any of the foregoing orders or in addition thereto, the court may require the party failing to obey the order or the attorney advising him or both to pay the reasonable expenses, including attorney's fees, caused by the failure.
The failure to act described in this subdivision may not be excused on the ground that the discovery sought is objectionable unless the party failing to act has applied for a protective order as provided by Rule 26(c).
Mass. R. Dom. Rel. P. 37