98. The Court or a Judge may at any time during the pendency of an action order the discovery upon oath and production by any party of any documents in his custody or possession or under his control relating to any matter in dispute in the action and may deal with such documents when produced in such manner as shall seem just.