If the depositions relate to the records of a court or public office they, with all the proceedings connected therewith, shall be filed in such court or office.