Share the 'validateArchivePath' method.