If a party interrogated fails to answer interrogatories, or to amend or expunge an answer or part of an answer as ordered, the court may make and enter such order, judgment or decree as justice requires except that judgment shall not be entered because of the failure of the party interrogated to answer interrogatories until five days after written notice that such judgment will be entered has been sent by the clerk of the court to said party interrogated, or his attorney of record.
Mass. Gen. Laws ch. 231, § 64