Move archive extraction to a dedicated method