(a) Notwithstanding any other provision of this code, an inmate may not file with any court of this state a civil action without the payment of filing fees as set forth in this section: Provided, That the collection of the full filing fee is not required before the inmate's claim may be filed and served.
(b) When an inmate seeks to file a civil action as an indigent and requests that customary filing fees and court costs be waived, the clerk of the court in which the inmate has filed his or her complaint shall notify the warden or designated representative of the facility in which the inmate resides of the inmate's request and the amount of filing costs. Once the facility receives notification, the custodian of the inmate's trust account shall immediately compute the average monthly balance of the inmate's trust account over the preceding three-month period and deduct from the inmate's trust account thirty percent of the average balance as a partial filing fee. The custodian shall deduct that same amount or up to thirty percent of the balance of the inmate's trust account, whichever is greater, on a monthly basis until the filing fee is paid in full.
(c) The custodian of the inmate's trust account shall place all funds deducted from the inmate's trust into a special account designated as the "filing fees account," to be established for each correctional facility and to be administered by the custodian and warden or chief administrator of each facility. Biannually the custodian and warden or chief administrator of the filing fees account shall distribute the balance of the account, minus any expense in maintaining that account, to the circuit clerk of the county in which the state correctional facility resides as a filing fee for all suits filed by indigent inmates of that facility.