Extensions to rename archives based on the directories inside