Expenses; Indemnification Subject to the provisions of this Agreement, the Borrower will pay (a) all out-of-pocket costs and expenses incurred by the Administrative Agent and the Arranger (including the reasonable fees, out-of-pocket expenses and other reasonable expenses of counsel) in connection with the preparation, execution and delivery of this Agreement, the Notes, the Loan Documents and any other agreements or documents referred to herein or therein and any amendments thereto, (b) all out-of-pocket costs and expenses incurred by the Administrative Agent and the Lenders (including the reasonable fees, out-of-pocket expenses and other reasonable expenses of counsel to the Administrative Agent and the Lenders) in connection with the enforcement and protection of the rights of the Lenders under this Agreement, the Notes, the Loan Documents or any other agreement or document referred to herein or therein, and (c) all reasonable and customary costs and expenses of periodic audits by the Administrative Agent’s personnel of the Borrower’s books and records provided that prior to an Event of Default, the Borrower shall be required to pay for only one such audit during any year. The Borrower further agrees to indemnify the Lenders, their Affiliates, and their respective directors, officers, employees, agents and advisors (each, an “Indemnified Party”) against all losses, claims, damages, penalties, judgments, liabilities and reasonable expenses (including, without limitation, all expenses of litigation or preparation therefor whether or not the Indemnified Party is a party thereto) which any of them may pay or incur arising out of or relating to this Agreement, the other Loan Documents, the transactions contemplated hereby or the direct or indirect application or proposed application of the proceeds of any Borrowing hereunder, except that the foregoing indemnity shall not apply to any Indemnified Party to the extent that any losses, claims, etc. are determined by a court of competent jurisdiction by a final and non-appealable judgment to have resulted from such Indemnified Party’s Gross Negligence or willful misconduct. In the case of an investigation, litigation or proceeding to which the indemnity in this Section applies, such indemnity shall be effective whether or not such investigation, litigation or proceeding is brought by the Borrower or the General Partner or the Borrower’s or the General Partner’s equity holders or creditors or an Indemnified Party is otherwise party thereto. The obligations of the Borrower under this Section shall survive the termination of this Agreement.
Costs and Expenses; Indemnification Agent may incur and pay Lender Group Expenses to the extent Agent reasonably deems necessary or appropriate for the performance and fulfillment of its functions, powers, and obligations pursuant to the Loan Documents, including court costs, attorneys fees and expenses, fees and expenses of financial accountants, advisors, consultants, and appraisers, costs of collection by outside collection agencies, auctioneer fees and expenses, and costs of security guards or insurance premiums paid to maintain the Collateral, whether or not Borrower is obligated to reimburse Agent or Lenders for such expenses pursuant to this Agreement or otherwise. Agent is authorized and directed to deduct and retain sufficient amounts from the Collections of Borrower and its Subsidiaries received by Agent to reimburse Agent for such out-of-pocket costs and expenses prior to the distribution of any amounts to Lenders (or Bank Product Providers). In the event Agent is not reimbursed for such costs and expenses by Borrower or its Subsidiaries, each Lender hereby agrees that it is and shall be obligated to pay to Agent such Lender’s ratable thereof. Whether or not the transactions contemplated hereby are consummated, each of the Lenders, on a ratable basis, shall indemnify and defend the Agent-Related Persons (to the extent not reimbursed by or on behalf of Borrower and without limiting the obligation of Borrower to do so) from and against any and all Indemnified Liabilities; provided, however, that no Lender shall be liable for the payment to any Agent-Related Person of any portion of such Indemnified Liabilities resulting solely from such Person’s gross negligence or willful misconduct nor shall any Lender be liable for the obligations of any Defaulting Lender in failing to make an Advance or other extension of credit hereunder. Without limitation of the foregoing, each Lender shall reimburse Agent upon demand for such Lender’s ratable share of any costs or out of pocket expenses (including attorneys, accountants, advisors, and consultants fees and expenses) incurred by Agent in connection with the preparation, execution, delivery, administration, modification, amendment, or enforcement (whether through negotiations, legal proceedings or otherwise) of, or legal advice in respect of rights or responsibilities under, this Agreement or any other Loan Document to the extent that Agent is not reimbursed for such expenses by or on behalf of Borrower. The undertaking in this Section shall survive the payment of all Obligations hereunder and the resignation or replacement of Agent.