A contingency fee is the amount a lawyer agrees to be paid out of the damages awarded to their client. Typically, filing fees and other costs associated with working the case are not considered part of the contingency fee amount.
Merriam-Webster Online Dictionary
contingency fee (noun)a fee for services (as of a lawyer) paid upon successful completion of the services and usually calculated as a percentage of the gain realized for the client - called also contingent fee