If a claim for which a filing fee is required to be paid is filed, the clerk of the court shall collect the filing fee from the claimant. All other costs of proceedings with respect to claims and counterclaims shall be awarded in the discretion of the court.
755 ILCS 5/18-9