+ String type = getDescriptionForExtension(extension);
+
+ if (type == null)
+ {
+ Iterator<String> it = extensions.keySet().iterator();
+ while (it.hasNext())
+ {
+ String ext = it.next();
+ BackupFilenameParts bfp = BackupFilenameParts
+ .currentBackupFilenameParts(f.getName(), ext, true);
+ if (bfp.isBackupFile())
+ {
+ extension = ext;
+ type = getDescriptionForExtension(extension)
+ + MessageManager.getString("label.backup");
+ break;
+ }
+ }
+ }