Added check and unit test for check to check that the archive specified exists.