updated read_archive