All probated wills shall be indexed and recorded by the register, and shall remain in his office, except for the period required to be in the custody of a higher court. The recording may be accomplished by photographic or other mechanical process.
20 Pa.C.S. § 921