A person who has been declared a bankrupt or an insolvent may maintain an action respecting his former property in his own name, unless objection is made, if before final judgment the assent of his trustee or assignee is filed in the office of the clerk of the court in which the action is pending.
14 M.R.S. § 5801