All money recovered in such an action, when collected, shall be paid into the State treasury except that the prevailing party in such an action is entitled to receive for his own use a reasonable sum for attorney fees and the taxable costs of the action.