On the hearing reference may be had in all cases to the pleadings, orders, rulings and files of the court, and to depositions, documentary evidence, shorthand report, and transcript, if one has been made, and the court may take the testimony of witnesses as to causes enumerated in subdivisions 15-6-59(a)(1), (2), (3), and (4), which testimony may be reduced to writing and transcribed on the request of either party and filed in the office of the clerk as part of the record.
SDCL 15-6-59(e)