String extension = getExtension(localFile);
if (isPharExtention(extension)) {
IArchive archive = null;
try {
if (PHAR_EXTENSTION.equals(extension)) {
archive = new PharArchiveFile(localFile);
} else if (ZIP_EXTENSTION.equals(extension)) {
archive = new ZipArchiveFile(localFile);
} else if (TAR_EXTENSTION.equals(extension)
|| GZ_EXTENSTION.equals(extension)
|| BZ2_EXTENSTION.equals(extension)) {