Nope. You paid to file and you got it filed.
This is just my opinion and not a comprehensive answer. You assume the risk because this answer may not apply to your situation depending on the facts.
You cannot get your filing fees back from the Court. However, you can get a judgment against the Plaintiff in the amount of the filing fees that you paid. Most will simply pay them once you obtain the Judgment. First thing you need to do is complete and file a Memorandum of Costs using the Judicial Counsel form below. Then you lodge a Judgment of Dismissal with the Court Clerk for the Judge to sign. Once signed, you will have a Judgment against the Plaintiff in the amount of your filing fees.