The officer taking the deposition shall seal up and direct the deposition, together with the petition therefor, to the clerk of the superior court for the county in which some one of the persons notified of the taking of the deposition shall reside, or if no one of the persons so notified shall reside in this state, then the court for the county in which the person preferring the petition shall reside, and in case no one of the persons notified nor the person preferring the petition shall reside in this state, then in Providence county. The clerk shall, on receiving the deposition and petition, so directed and sealed up, on payment of legal fees for recording as in other cases, open and record the deposition and petition and the certificate of the taking of the deposition, in a book to be specifically kept for that purpose, noting on the deposition the time when he or she received it and the page of the book in which it is recorded, after which he or she shall deliver the deposition and petition to the party preferring the petition; and no deposition not so recorded shall be received as evidence in any court in the state, unless the deposition shall be opened in court at the time of the hearing of the cause in which it is used.
R.I. Gen. Laws § 9-18-14