At the time of filing the action the plaintiff shall file a bond for costs or pauper's oath required by chapter 18 of this title.