All pretrial motions, including demurrers and special pleas, shall be filed within ten days after the date of arraignment, unless the time for filing is extended by the court.