Filing Fees

I've been surprised by the third party delivery of my Federal refund.  I've been disappointed in the fee structure, claiming "file for free", only to learn I owe $25 to file AND, because I elected to have the fee deducted from my return, I paid an additional $40!!  $65 reduction in my refund.  Let me know how I can avoid these fees in the future, or I'll be moving to a different preparation software that does a better job of full disclosure of the costs associated with filing a return.