The clerk shall maintain a file for the safekeeping of wills. There shall be placed therein wills deposited with the clerk by living testators or by persons on their behalf, and wills of deceased testators not accompanied by petitions for the probate thereof, when deposited with the clerk by persons having custody thereof as provided in section 633.285.