(1) The district attorney shall examine all facts and circumstances connected with any preliminary examination touching the commission of any crime if the defendant has been bound over for trial and, subject to s. 970.03(10), shall file an information according to the evidence on such examination subscribing his or her name thereto.(2) The information shall be filed with the clerk within 30 days after the completion of the preliminary examination or waiver thereof except that the district attorney may move the court wherein the information is to be filed for an order extending the period for filing such information for cause. Notice of such motion shall be given the defendant. Failure to file the information within such time shall entitle the defendant to have the action dismissed without prejudice.