For replacing the original papers in any cause, or the record in an appellate court, or supplying papers lost in cases decided, the costs and expenses shall be ascertained under the direction of the court, and adjudged against any party or parties in the cause, or divided among them as the court may, in its discretion, determine to be equitable; and so, also, when new pleadings are ordered.
W. Va. Code § 59-2-9