Should it appear to the satisfaction of the court that any of the affidavits presented are presented in bad faith or solely for the purpose of delay, the court shall forthwith order the party employing them to pay to the other party the amount of reasonable expenses which the filing of the affidavits caused him to incur, including reasonable attorney’s fees, and any offending party or attorney may be adjudged guilty of contempt.