All exhibits which have been introduced or filed in any criminal action or proceeding shall be retained by the clerk of the court who shall establish a procedure to account for the exhibits properly, subject to Sections 1417.2 and 1417.3 until final determination of the action or proceedings and the exhibits shall thereafter be distributed or disposed of as provided in this chapter.