It shall be the special duty of every judge of a court of record to examine into and superintend the manner in which the rolls and records of the court are made up and kept; to prescribe orders that will procure uniformity, regularity and accuracy in the transaction of the business of the court; to require that the records and files be properly maintained and entries be made at the proper times as required by law or supreme court rule, and that the duties of the clerks be performed according to law and supreme court rule; and if any clerk fail to comply with the law, the court shall proceed against him as for a misdemeanor. The provisions of this section shall not be construed to permit the adoption of any local court rule that grants a judge the discretion to remove or direct the removal of any pleading, file, or communication from a court file or record without the agreement of all parties.