When a will has been admitted to probate and certified pursuant to section 633.300, the clerk shall cause a certified copy thereof to be placed in the hands of the executor to whom letters are issued. The clerk shall retain the will in a separate file provided for that purpose until the time for contest has expired, and promptly thereafter shall place it with the files of the estate.