Added archive reading functionality