import os, shutil

def filemove (newpath, filename):
	if not os.path.exists(newpath):
		os.makedirs(newpath)
	try:
		shutil.move(filename, newpath)
	except:
		print("There is a file with the same name at the destination!.")

def iostrain (train, version):
	if train.startswith("AA"):
		version = version + "AA"
	elif train.startswith("AX"):
		version = version + "AX"
	elif train.startswith("AY"):
		version = version + "AY"
	elif train.startswith("AZ"):
		version = version + "AZ"
	elif train.startswith("BC"):
		version = version + "BC"
	elif train.startswith("BT"):
		version = version + "BT"
	elif train.startswith("BW"):
		version = version + "BW"
	elif train.startswith("BX"):
		version = version + "BX"
	elif train.startswith("BY"):
		version = version + "BY"
	elif train.startswith("B"):
		version = version + "B"
	elif train.startswith("CX"):
		version = version + "CX"
	elif train.startswith("CY"):
		version = version + "CY"
	elif train.startswith("CZ"):
		version = version + "CZ"
	elif train.startswith("DA"):
		version = version + "DA"
	elif train.startswith("DB"):
		version = version + "DB"
	elif train.startswith("DC"):
		version = version + "DC"
	elif train.startswith("DD"):
		version = version + "DD"
	elif train.startswith("DX"):
		version = version + "DX"
	elif train.startswith("EA"):
		version = version + "EA"
	elif train.startswith("EB"):
		version = version + "EB"
	elif train.startswith("EC"):
		version = version + "EC"
	elif train.startswith("ED"):
		version = version + "ED"
	elif train.startswith("EH"):
		version = version + "EH"
	elif train.startswith("EJ"):
		version = version + "EJ"
	elif train.startswith("EK"):
		version = version + "EK"
	elif train.startswith("EO"):
		version = version + "EO"
	elif train.startswith("EU"):
		version = version + "EU"
	elif train.startswith("EV"):
		version = version + "EV"
	elif train.startswith("EWA"):
		version = version + "EWA"
	elif train.startswith("EW"):
		version = version + "EW"
	elif train.startswith("EX"):
		version = version + "EX"
	elif train.startswith("EY"):
		version = version + "EY"
	elif train.startswith("EZ"):
		version = version + "EZ"
	elif train.startswith("E"):
		version = version + "E"
	elif train.startswith("FX"):
		version = version + "FX"
	elif train.startswith("FY"):
		version = version + "FY"
	elif train.startswith("FZ"):
		version = version + "FZ"
	elif train.startswith("GA"):
		version = version + "GA"
	elif train.startswith("GB"):
		version = version + "GB"
	elif train.startswith("GCA"):
		version = version + "GCA"
	elif train.startswith("GC"):
		version = version + "GC"
	elif train.startswith("IRA"):
		version = version + "IRA"
	elif train.startswith("IRB"):
		version = version + "IRB"
	elif train.startswith("IRC"):
		version = version + "IRC"
	elif train.startswith("IRD"):
		version = version + "IRD"
	elif train.startswith("IRE"):
		version = version + "IRE"
	elif train.startswith("IRF"):
		version = version + "IRF"
	elif train.startswith("IRG"):
		version = version + "IRG"
	elif train.startswith("IRH"):
		version = version + "IRH"
	elif train.startswith("IRI"):
		version = version + "IRI"
	elif train.startswith("IXA"):
		version = version + "IXA"
	elif train.startswith("IXB"):
		version = version + "IXB"
	elif train.startswith("IXC"):
		version = version + "IXC"
	elif train.startswith("IXD"):
		version = version + "IXD"
	elif train.startswith("IXE"):
		version = version + "IXE"
	elif train.startswith("IXF"):
		version = version + "IXF"
	elif train.startswith("IXG"):
		version = version + "IXG"
	elif train.startswith("IXH"):
		version = version + "IXH"
	elif train.startswith("JAL"):
		version = version + "JAL"
	elif train.startswith("JAM"):
		version = version + "JAM"
	elif train.startswith("JAN"):
		version = version + "JAN"
	elif train.startswith("JAO"):
		version = version + "JAO"
	elif train.startswith("JAX"):
		version = version + "JAX"
	elif train.startswith("JAY"):
		version = version + "JAY"
	elif train.startswith("JAZ"):
		version = version + "JAZ"
	elif train.startswith("JAB"):
		version = version + "JAB"
	elif train.startswith("JA"):
		version = version + "JA"
	elif train.startswith("JBA"):
		version = version + "JBA"
	elif train.startswith("JBB"):
		version = version + "JBB"
	elif train.startswith("JBC"):
		version = version + "JBC"
	elif train.startswith("JBD"):
		version = version + "JBD"
	elif train.startswith("JBE"):
		version = version + "JBE"
	elif train.startswith("JB"):
		version = version + "JB"
	elif train.startswith("JCA"):
		version = version + "JCA"
	elif train.startswith("JCB"):
		version = version + "JCB"
	elif train.startswith("JCC"):
		version = version + "JCC"
	elif train.startswith("JCD"):
		version = version + "JCD"
	elif train.startswith("JCE"):
		version = version + "JCE"
	elif train.startswith("JC"):
		version = version + "JC"
	elif train.startswith("JDA"):
		version = version + "JDA"
	elif train.startswith("JDB"):
		version = version + "JDB"
	elif train.startswith("JDC"):
		version = version + "JDC"
	elif train.startswith("JDD"):
		version = version + "JDD"
	elif train.startswith("JD"):
		version = version + "JD"
	elif train.startswith("JEA"):
		version = version + "JEA"
	elif train.startswith("JEB"):
		version = version + "JEB"
	elif train.startswith("JEC"):
		version = version + "JEC"
	elif train.startswith("JED"):
		version = version + "JED"
	elif train.startswith("JEE"):
		version = version + "JEE"
	elif train.startswith("JE"):
		version = version + "JE"
	elif train.startswith("JFA"):
		version = version + "JFA"
	elif train.startswith("JFB"):
		version = version + "JFB"
	elif train.startswith("JFC"):
		version = version + "JFC"
	elif train.startswith("JFD"):
		version = version + "JFD"
	elif train.startswith("JF"):
		version = version + "JF"
	elif train.startswith("JGA"):
		version = version + "JGA"
	elif train.startswith("JGB"):
		version = version + "JGB"
	elif train.startswith("JGC"):
		version = version + "JGC"
	elif train.startswith("JGD"):
		version = version + "JGD"
	elif train.startswith("JG"):
		version = version + "JG"
	elif train.startswith("JHA"):
		version = version + "JHA"
	elif train.startswith("JHB"):
		version = version + "JHB"
	elif train.startswith("JHC"):
		version = version + "JHC"
	elif train.startswith("JH"):
		version = version + "JH"
	elif train.startswith("JI"):
		version = version + "JI"
	elif train.startswith("JJ"):
		version = version + "JJ"
	elif train.startswith("JK"):
		version = version + "JK"
	elif train.startswith("JL"):
		version = version + "JL"
	elif train.startswith("JMA"):
		version = version + "JMA"
	elif train.startswith("JMB"):
		version = version + "JMB"
	elif train.startswith("JMC"):
		version = version + "JMC"
	elif train.startswith("JM"):
		version = version + "JM"
	elif train.startswith("JN"):
		version = version + "JN"
	elif train.startswith("JX"):
		version = version + "JX"
	elif train.startswith("JPA"):
		version = version + "JPA"
	elif train.startswith("JPB"):
		version = version + "JPB"
	elif train.startswith("JPC"):
		version = version + "JPC"
	elif train.startswith("JPD"):
		version = version + "JPD"
	elif train.startswith("JPE"):
		version = version + "JPE"
	elif train.startswith("JPF"):
		version = version + "JPF"
	elif train.startswith("JPG"):
		version = version + "JPG"
	elif train.startswith("JPH"):
		version = version + "JPH"
	elif train.startswith("JPI"):
		version = version + "JPI"
	elif train.startswith("JPJ"):
		version = version + "JPJ"
	elif train.startswith("JPK"):
		version = version + "JPK"
	elif train.startswith("JPL"):
		version = version + "JPL"
	elif train.startswith("JPM"):
		version = version + "JPM"
	elif train.startswith("JPN"):
		version = version + "JPN"
	elif train.startswith("JPO"):
		version = version + "JPO"
	elif train.startswith("JPP"):
		version = version + "JPP"
	elif train.startswith("JPQ"):
		version = version + "JPQ"
	elif train.startswith("JPR"):
		version = version + "JPR"
	elif train.startswith("JPS"):
		version = version + "JPS"
	elif train.startswith("JPT"):
		version = version + "JPT"
	elif train.startswith("JPU"):
		version = version + "JPU"
	elif train.startswith("JPV"):
		version = version + "JPV"
	elif train.startswith("JPW"):
		version = version + "JPW"
	elif train.startswith("JPX"):
		version = version + "JPX"
	elif train.startswith("JPY"):
		version = version + "JPY"
	elif train.startswith("JPZ"):
		version = version + "JPZ"
	elif train.startswith("JP"):
		version = version + "JP"
	elif train.startswith("JY"):
		version = version + "JY"
	elif train.startswith("L"):
		version = version + "L"
	elif train.startswith("MB"):
		version = version + "MB"
	elif train.startswith("MC"):
		version = version + "MC"
	elif train.startswith("MDA"):
		version = version + "MDA"
	elif train.startswith("MDB"):
		version = version + "MDB"
	elif train.startswith("MD"):
		version = version + "MD"
	elif train.startswith("MIG"):
		version = version + "MIG"
	elif train.startswith("MRA"):
		version = version + "MRA"
	elif train.startswith("MRB"):
		version = version + "MRB"
	elif train.startswith("MR"):
		version = version + "MR"
	elif train.startswith("MX"):
		version = version + "MX"
	elif train.startswith("M"):
		version = version + "M"
	elif train.startswith("NA"):
		version = version + "NA"
	elif train.startswith("N"):
		version = version + "N"
	elif train.startswith("PBAS"):
		version = version + "PBAS"
	elif train.startswith("PBA"):
		version = version + "PBA"
	elif train.startswith("PBS"):
		version = version + "PBS"
	elif train.startswith("PB"):
		version = version + "PB"
	elif train.startswith("PC"):
		version = version + "PC"
	elif train.startswith("PIX"):
		version = version + "PIX"
	elif train.startswith("PI"):
		version = version + "PI"
	elif train.startswith("P"):
		version = version + "P"
	elif train.startswith("SBA"):
		version = version + "SBA"
	elif train.startswith("SBB"):
		version = version + "SBB"
	elif train.startswith("SBC"):
		version = version + "SBC"
	elif train.startswith("SBY"):
		version = version + "SBY"
	elif train.startswith("SB"):
		version = version + "SB"
	elif train.startswith("SCA"):
		version = version + "SCA"
	elif train.startswith("SCB"):
		version = version + "SCB"
	elif train.startswith("SCC"):
		version = version + "SCC"
	elif train.startswith("SCD"):
		version = version + "SCD"
	elif train.startswith("SCE"):
		version = version + "SCE"
	elif train.startswith("SCF"):
		version = version + "SCF"
	elif train.startswith("SCG"):
		version = version + "SCG"
	elif train.startswith("SCH"):
		version = version + "SCH"
	elif train.startswith("SCI"):
		version = version + "SCI"
	elif train.startswith("SCJ"):
		version = version + "SCJ"
	elif train.startswith("SCK"):
		version = version + "SCK"
	elif train.startswith("SCL"):
		version = version + "SCL"
	elif train.startswith("SCM"):
		version = version + "SCM"
	elif train.startswith("SC"):
		version = version + "SC"
	elif train.startswith("SEA"):
		version = version + "SEA"
	elif train.startswith("SEB"):
		version = version + "SEB"
	elif train.startswith("SEC"):
		version = version + "SEC"
	elif train.startswith("SED"):
		version = version + "SED"
	elif train.startswith("SEE"):
		version = version + "SEE"
	elif train.startswith("SEF"):
		version = version + "SEF"
	elif train.startswith("SEG"):
		version = version + "SEG"
	elif train.startswith("SE"):
		version = version + "SE"
	elif train.startswith("SGA"):
		version = version + "SGA"
	elif train.startswith("SG"):
		version = version + "SG"
	elif train.startswith("SRA"):
		version = version + "SRA"
	elif train.startswith("SRB"):
		version = version + "SRB"
	elif train.startswith("SRC"):
		version = version + "SRC"
	elif train.startswith("SRD"):
		version = version + "SRD"
	elif train.startswith("SRE"):
		version = version + "SRE"
	elif train.startswith("SL"):
		version = version + "SL"
	elif train.startswith("SM"):
		version = version + "SM"
	elif train.startswith("SNG"):
		version = version + "SNG"
	elif train.startswith("SNH"):
		version = version + "SNH"
	elif train.startswith("SNI"):
		version = version + "SNI"
	elif train.startswith("SN"):
		version = version + "SN"
	elif train.startswith("SO"):
		version = version + "SO"
	elif train.startswith("SP"):
		version = version + "SP"
	elif train.startswith("SQ"):
		version = version + "SQ"
	elif train.startswith("SRA"):
		version = version + "SRA"
	elif train.startswith("SRB"):
		version = version + "SRB"
	elif train.startswith("SRC"):
		version = version + "SRC"
	elif train.startswith("SRD"):
		version = version + "SRD"
	elif train.startswith("SRE"):
		version = version + "SRE"
	elif train.startswith("SR"):
		version = version + "SR"
	elif train.startswith("SS"):
		version = version + "SS"
	elif train.startswith("STE"):
		version = version + "STE"
	elif train.startswith("ST"):
		version = version + "ST"
	elif train.startswith("SU"):
		version = version + "SU"
	elif train.startswith("SVA"):
		version = version + "SVA"
	elif train.startswith("SVB"):
		version = version + "SVB"
	elif train.startswith("SVC"):
		version = version + "SVC"
	elif train.startswith("SVD"):
		version = version + "SVD"
	elif train.startswith("SVE"):
		version = version + "SVE"
	elif train.startswith("SVF"):
		version = version + "SVF"
	elif train.startswith("SV"):
		version = version + "SV"
	elif train.startswith("SW"):
		version = version + "SW"
	elif train.startswith("SXA"):
		version = version + "SXA"
	elif train.startswith("SXB"):
		version = version + "SXB"
	elif train.startswith("SXD"):
		version = version + "SXD"
	elif train.startswith("SXE"):
		version = version + "SXE"
	elif train.startswith("SXF"):
		version = version + "SXF"
	elif train.startswith("SXH"):
		version = version + "SXH"
	elif train.startswith("SXI"):
		version = version + "SXI"
	elif train.startswith("SXJ"):
		version = version + "SXJ"
	elif train.startswith("SX"):
		version = version + "SX"
	elif train.startswith("SYA"):
		version = version + "SYA"
	elif train.startswith("SYL"):
		version = version + "SYL"
	elif train.startswith("SY"):
		version = version + "SY"
	elif train.startswith("SZ"):
		version = version + "SZ"
	elif train.startswith("S"):
		version = version + "S"
	elif train.startswith("TPC"):
		version = version + "TPC"
	elif train.startswith("TO"):
		version = version + "TO"
	elif train.startswith("T"):
		version = version + "T"
	elif train.startswith("UZ"):
		version = version + "UZ"
	elif train.startswith("VZ"):
		version = version + "VZ"
	elif train.startswith("WC"):
		version = version + "WC"
	elif train.startswith("WO"):
		version = version + "WO"
	elif train.startswith("WX"):
		version = version + "WX"
	elif train.startswith("XA"):
		version = version + "XA"
	elif train.startswith("XB"):
		version = version + "XB"
	elif train.startswith("XC"):
		version = version + "XC"
	elif train.startswith("XD"):
		version = version + "XD"
	elif train.startswith("XE"):
		version = version + "XE"
	elif train.startswith("XF"):
		version = version + "XF"
	elif train.startswith("XG"):
		version = version + "XG"
	elif train.startswith("XH"):
		version = version + "XH"
	elif train.startswith("XI"):
		version = version + "XI"
	elif train.startswith("XJ"):
		version = version + "XJ"
	elif train.startswith("XK"):
		version = version + "XK"
	elif train.startswith("XL"):
		version = version + "XL"
	elif train.startswith("XM"):
		version = version + "XM"
	elif train.startswith("XNA"):
		version = version + "XNA"
	elif train.startswith("XNB"):
		version = version + "XNB"
	elif train.startswith("XNC"):
		version = version + "XNC"
	elif train.startswith("XND"):
		version = version + "XND"
	elif train.startswith("XNE"):
		version = version + "XNE"
	elif train.startswith("XO"):
		version = version + "XO"
	elif train.startswith("XP"):
		version = version + "XP"
	elif train.startswith("XQ"):
		version = version + "XQ"
	elif train.startswith("XR"):
		version = version + "XR"
	elif train.startswith("XS"):
		version = version + "XS"
	elif train.startswith("XT"):
		version = version + "XT"
	elif train.startswith("XU"):
		version = version + "XU"
	elif train.startswith("XV"):
		version = version + "XV"
	elif train.startswith("XW"):
		version = version + "XW"
	elif train.startswith("XX"):
		version = version + "XX"
	elif train.startswith("XY"):
		version = version + "XY"
	elif train.startswith("XZ"):
		version = version + "XZ"
	elif train.startswith("YA"):
		version = version + "YA"
	elif train.startswith("YB"):
		version = version + "YB"
	elif train.startswith("YC"):
		version = version + "YC"
	elif train.startswith("YD"):
		version = version + "YD"
	elif train.startswith("YE"):
		version = version + "YE"
	elif train.startswith("YF"):
		version = version + "YF"
	elif train.startswith("YG"):
		version = version + "YG"
	elif train.startswith("YH"):
		version = version + "YH"
	elif train.startswith("YI"):
		version = version + "YI"
	elif train.startswith("YJ"):
		version = version + "YJ"
	elif train.startswith("YK"):
		version = version + "YK"
	elif train.startswith("YL"):
		version = version + "YL"
	elif train.startswith("YM"):
		version = version + "YM"
	elif train.startswith("YN"):
		version = version + "YN"
	elif train.startswith("YO"):
		version = version + "YO"
	elif train.startswith("YP"):
		version = version + "YP"
	elif train.startswith("YQ"):
		version = version + "YQ"
	elif train.startswith("YR"):
		version = version + "YR"
	elif train.startswith("YS"):
		version = version + "YS"
	elif train.startswith("YT"):
		version = version + "YT"
	elif train.startswith("YU"):
		version = version + "YU"
	elif train.startswith("YV"):
		version = version + "YV"
	elif train.startswith("YW"):
		version = version + "YW"
	elif train.startswith("YX"):
		version = version + "YX"
	elif train.startswith("YZ"):
		version = version + "YZ"
	elif train.startswith("YZ"):
		version = version + "YZ"
	elif train.startswith("ZA"):
		version = version + "ZA"
	elif train.startswith("ZB"):
		version = version + "ZB"
	elif train.startswith("ZC"):
		version = version + "ZC"
	elif train.startswith("ZD"):
		version = version + "ZD"
	elif train.startswith("ZE"):
		version = version + "ZE"
	elif train.startswith("ZF"):
		version = version + "ZF"
	elif train.startswith("ZG"):
		version = version + "ZG"
	elif train.startswith("ZH"):
		version = version + "ZH"
	elif train.startswith("ZI"):
		version = version + "ZI"
	elif train.startswith("ZJ"):
		version = version + "ZJ"
	elif train.startswith("ZK"):
		version = version + "ZK"
	elif train.startswith("ZL"):
		version = version + "ZL"
	elif train.startswith("ZN"):
		version = version + "ZN"
	elif train.startswith("ZO"):
		version = version + "ZO"
	elif train.startswith("ZP"):
		version = version + "ZP"
	elif train.startswith("ZQ"):
		version = version + "ZQ"
	elif train.startswith("ZR"):
		version = version + "ZR"
	elif train.startswith("ZS"):
		version = version + "ZS"
	elif train.startswith("ZT"):
		version = version + "ZT"
	elif train.startswith("ZU"):
		version = version + "ZU"
	elif train.startswith("ZV"):
		version = version + "ZV"
	elif train.startswith("ZW"):
		version = version + "ZW"
	elif train.startswith("ZX"):
		version = version + "ZX"
	elif train.startswith("ZYA"):
		version = version + "ZYA"
	elif train.startswith("ZY"):
		version = version + "ZY"
	elif train.startswith("ZZ"):
		version = version + "ZZ"
	return version

def imagelookup (imagecode):
	if imagecode == "sm10g":
		subdirectory = "10-GIG-MODULE"
	elif imagecode == "migrate_to_eXR":
		subdirectory = "64BIT-MIGRATION"
	elif imagecode == "goldenk9":
		subdirectory = "GOLDEN-IMAGE"
	elif imagecode == "i12o3s":
		subdirectory = "ACCELERATED-BB-WITH-FW-INTRUSION-DETECTION"
	elif imagecode == "i12s":
		subdirectory = "ACCELERATED-BROADBAND-LAC-LNS-PTA"
	elif imagecode == "acisim":
		subdirectory = "ACI-SIMULATOR"
	elif imagecode == "acive":
		subdirectory = "ACI-VIRTUAL-EDGE"
	elif imagecode == "acs_mig":
		subdirectory = "ACS-MIGRATION"
	elif imagecode == "asdm":
		subdirectory = "ADAPTIVE-SECURITY-DEVICE-MANAGER"
	elif imagecode == "asdmf":
		subdirectory = "ADAPTIVE-SECURITY-DEVICE-MANAGER-ASASM"
	elif imagecode == "adventerprisek9":
		subdirectory = "ADVANCED-ENTERPRISE-SERVICES"
	elif imagecode == "adventerprisek9_wan":
		subdirectory = "ADVANCED-ENTERPRISE-SERVICES"
	elif imagecode == "adventerprise":
		subdirectory = "ADVANCED-ENTERPRISE-SERVICES-NO-CRYPTO"
	elif imagecode == "adventerprise_wan":
		subdirectory = "ADVANCED-ENTERPRISE-SERVICES-NO-CRYPTO"
	elif imagecode == "adventerprisek9_noli":
		subdirectory = "ADVANCED-ENTERPRISE-SERVICES-NO-LAWFUL-INTERCEPT"
	elif imagecode == "adventerprisek9_npe":
		subdirectory = "ADVANCED-ENTERPRISE-SERVICES-NPE"
	elif imagecode == "adventerprisek9_sna":
		subdirectory = "ADVANCED-ENTERPRISE-SERVICES-SNA"
	elif imagecode == "adventerprisek9_li":
		subdirectory = "ADVANCED-ENTERPRISE-SERVICES-WITH-LAWFUL-INTERCEPT"
	elif imagecode == "advipservicesk9":
		subdirectory = "ADVANCED-IP-SERVICES"
	elif imagecode == "advipservicesk9_wan":
		subdirectory = "ADVANCED-IP-SERVICES"
	elif imagecode == "advipservices":
		subdirectory = "ADVANCED-IP-SERVICES-NO-CRYPTO"
	elif imagecode == "advipservicesk9_npe":
		subdirectory = "ADVANCED-IP-SERVICES-NPE"
	elif imagecode == "advipservicesk9_li":
		subdirectory = "ADVANCED-IP-SERVICES-WITH-LAWFUL-INTERCEPT"
	elif imagecode == "advipservicesk9_noli":
		subdirectory = "ADVANCED-IP-SERVICES-WITHOUT-LAWFUL-INTERCEPT"
	elif imagecode == "amp":
		subdirectory = "ADVANCED-MALWARE-PROTECTION"
	elif imagecode == "advsecurityk9":
		subdirectory = "ADVANCED-SECURITY"
	elif imagecode == "advseck9":
		subdirectory = "ADVANCED-SECURITY"
	elif imagecode == "advsecurityk9_npe":
		subdirectory = "ADVANCED-SECURITY-NPE"
	elif imagecode == "advseck9_npe":
		subdirectory = "ADVANCED-SECURITY-NPE"
	elif imagecode == "analogmodem":
		subdirectory = "ANALOG-MODEM"
	elif imagecode == "android":
		subdirectory = "ANDROID"
	elif imagecode == "apic":
		subdirectory = "APIC-CONTROLLER"
	elif imagecode == "app_selector":
		subdirectory = "APP-SELECTOR"
	elif imagecode == "lfbff":
		subdirectory = "ASA-FIREPOWER"
	elif imagecode == "m":
		subdirectory = "ATM"
	elif imagecode == "wpk2":
		subdirectory = "ATM-LAYER-3-SSH-3DES"
	elif imagecode == "lc":
		subdirectory = "ATM-LINE-CARD"
	elif imagecode == "wi":
		subdirectory = "ATM"
	elif imagecode == "wl":
		subdirectory = "ATM-WORKGROUP-LANE"
	elif imagecode == "wt":
		subdirectory = "ATM-WORKGROUP-TRAFFIC-SHAPING"
	elif imagecode == "hotfix":
		subdirectory = "HOTFIX"
	elif imagecode == "c5is":
		subdirectory = "BASE-PDSN"
	elif imagecode == "c5ik9s":
		subdirectory = "BASE-PDSN-3DES"
	elif imagecode == "k9sy":
		subdirectory = "BASIC-IP-3DES-PLUS"
	elif imagecode == "k9o3sy":
		subdirectory = "BASIC-IP-FIREWALL-2-3DES-PLUS"
	elif imagecode == "k9sv3y":
		subdirectory = "BASIC-IP-VOICE-3DES-PLUS"
	elif imagecode == "i9s":
		subdirectory = "BASIC-L3"
	elif imagecode == "i9k91sc":
		subdirectory = "BASIC-L3-3DES"
	elif imagecode == "bios":
		subdirectory = "BIOS"
	elif imagecode == "boot":
		subdirectory = "BOOT"
	elif imagecode == "cboot":
		subdirectory = "BOOT"
	elif imagecode == "dboot":
		subdirectory = "BOOT"
	elif imagecode == "dboot2":
		subdirectory = "BOOT"
	elif imagecode == "eboot":
		subdirectory = "BOOT"
	elif imagecode == "k8boot":
		subdirectory = "BOOT"
	elif imagecode == "kboot":
		subdirectory = "BOOT"
	elif imagecode == "mboot":
		subdirectory = "BOOT"
	elif imagecode == "wboot":
		subdirectory = "BOOT"
	elif imagecode == "rboot":
		subdirectory = "BOOT"
	elif imagecode == "m":
		subdirectory = "ATM-OC3-LANE"
	elif imagecode == "bridge_smus":
		subdirectory = "BRIDGE-SMUS"
	elif imagecode == "driversucsb":
		subdirectory = "B-SERIES/DRIVERS"
	elif imagecode == "utilsbseries":
		subdirectory = "B-SERIES/UTILS"
	elif imagecode == "ucsbundle":
		subdirectory = "BUNDLE"
	elif imagecode == "capacity-emulator":
		subdirectory = "CAPACITY-EMULATOR"
	elif imagecode == "cgv6":
		subdirectory = "CARRIER-GRADE-NAT-V4-V6"
	elif imagecode == "csd":
		subdirectory = "CISCO-SECURE-DESKTOP"
	elif imagecode == "clean":
		subdirectory = "CLEAN-UTILITY"
	elif imagecode == "clientandroid":
		subdirectory = "CLIENT/ANDROID"
	elif imagecode == "linux":
		subdirectory = "CLIENT/LINUX"
	elif imagecode == "linux64":
		subdirectory = "CLIENT/LINUX-64"
	elif imagecode == "linuxbare":
		subdirectory = "LINUX"
	elif imagecode == "solaris":
		subdirectory = "SOLARIS"
	elif imagecode == "macintosh":
		subdirectory = "MAC"
	elif imagecode == "macos":
		subdirectory = "CLIENT/MACOSX"
	elif imagecode == "macosxi386":
		subdirectory = "CLIENT/MACOSX-i386"
	elif imagecode == "macosxpowerpc":
		subdirectory = "CLIENT/MACOSX-PowerPC"
	elif imagecode == "win":
		subdirectory = "CLIENT/WINDOWS"
	elif imagecode == "winarm64":
		subdirectory = "WINDOWS-ARM64"
	elif imagecode == "wince":
		subdirectory = "CLIENT/WINDOWS-CE"
	elif imagecode == "config-converter":
		subdirectory = "CONFIG-CONVERTER"
	elif imagecode == "core":
		subdirectory = "CORE-SOFTWARE"
	elif imagecode == "corek9":
		subdirectory = "CORE-SOFTWARE-CRYPTO"
	elif imagecode == "core64":
		subdirectory = "CORE-SOFTWARE-X64"
	elif imagecode == "core64k9":
		subdirectory = "CORE-SOFTWARE-X64-CRYPTO"
	elif imagecode == "cpld_update":
		subdirectory = "CPLD-UPDATE"
	elif imagecode == "driversucsc":
		subdirectory = "C-SERIES/DRIVERS"
	elif imagecode == "utilscseries":
		subdirectory = "C-SERIES/UTILS"
	elif imagecode == "csgk9":
		subdirectory = "CSG2-RTU-SAMI"
	elif imagecode == "csg":
		subdirectory = "CSG2-RTU-SAMI-NO-CRYPTO"
	elif imagecode == "csmgeoip":
		subdirectory = "CSM-GEOIP-DB"
#	elif imagecode == "ds":
#		subdirectory = "DESKTOP"
	elif imagecode == "dsv":
		subdirectory = "DESKTOP-IBM"
	elif imagecode == "do3s":
		subdirectory = "DESKTOP-IBM-FW-IDS"
	elif imagecode == "do3sv":
		subdirectory = "DESKTOP-IBM-FW-IDS"
	elif imagecode == "dk2o3sv":
		subdirectory = "DESKTOP-IBM-FW-IDS-IPSEC-3DES"
	elif imagecode == "dk9o3s":
		subdirectory = "DESKTOP-IBM-FW-IDS-IPSEC-3DES"
	elif imagecode == "dk9o3sv":
		subdirectory = "DESKTOP-IBM-FW-IDS-IPSEC-3DES"
	elif imagecode == "dk8o3s":
		subdirectory = "DESKTOP-IBM-FW-IDS-IPSEC-56"
	elif imagecode == "dk8o3sv":
		subdirectory = "DESKTOP-IBM-FW-IDS-IPSEC-56"
	elif imagecode == "do3s56i":
		subdirectory = "DESKTOP-IBM-FW-IDS-IPSEC-56"
	elif imagecode == "do3sv56i":
		subdirectory = "DESKTOP-IBM-FW-IDS-IPSEC-56"
	elif imagecode == "dk8s":
		subdirectory = "DESKTOP-IBM-IPSEC-56"
	elif imagecode == "dk8sv":
		subdirectory = "DESKTOP-IBM-IPSEC-56"
	elif imagecode == "jos56":
		subdirectory = "ENTERPRISE-FW-PLUS-56"
	elif imagecode == "nsy56":
		subdirectory = "IP-IPX-PLUS-56"
	elif imagecode == "nsy40":
		subdirectory = "IP-IPX-PLUS-40"
	elif imagecode == "nr2y":
		subdirectory = "IP-IPX-IBM"
	elif imagecode == "nr2sy":
		subdirectory = "IP-IPX-IBM-PLUS"
	elif imagecode == "nr2sy40":
		subdirectory = "IP-IPX-IBM-PLUS-40"
	elif imagecode == "nr2sy56":
		subdirectory = "IP-IPX-IBM-PLUS-56"
	elif imagecode == "by":
		subdirectory = "IP-AT"
	elif imagecode == "bsy":
		subdirectory = "IP-AT-PLUS"
	elif imagecode == "bsy40":
		subdirectory = "IP-AT-PLUS-40"
	elif imagecode == "bsy56":
		subdirectory = "IP-AT-PLUS-56"
	elif imagecode == "ads":
		subdirectory = "DESKTOP-IBM"
	elif imagecode == "bnr2sy56i":
		subdirectory = "IP-IPX-AT-IBM-PLUS-IPSEC-56"
	elif imagecode == "bnor2sy56i":
		subdirectory = "IP-IPX-AT-IBM-FW-PLUS-IPSEC-56"
	elif imagecode == "bnor2sy56":
		subdirectory = "IP-IPX-AT-IBM-FW-PLUS-IPSEC-56"
	elif imagecode == "ads40":
		subdirectory = "DESKTOP-IBM-40"
	elif imagecode == "ads56":
		subdirectory = "DESKTOP-IBM-56"
	elif imagecode == "ds56":
		subdirectory = "DESKTOP-IBM-56"
	elif imagecode == "ds56i":
		subdirectory = "DESKTOP-IBM-IPSEC-56"
	elif imagecode == "dsv56i":
		subdirectory = "DESKTOP-IBM-IPSEC-56"
	elif imagecode == "dsv56":
		subdirectory = "DESKTOP-IBM-IPSEC-56"
	elif imagecode == "adsv":
		subdirectory = "DESKTOP-IBM-APPN"
	elif imagecode == "ajsv56i":
		subdirectory = "ENTERPRISE-APPN-IPSEC-56"
	elif imagecode == "itv":
		subdirectory = "IP-ACIP"
#	elif imagecode == "ajs":
#		subdirectory = "ENTERPRISE-APPN"
#	elif imagecode == "ajs40":
#		subdirectory = "ENTERPRISE-APPN-40"
#	elif imagecode == "ajs56":
#		subdirectory = "ENTERPRISE-APPN-56"
	elif imagecode == "adjv":
		subdirectory = "ENTERPRISE-APPN"
	elif imagecode == "adjv40":
		subdirectory = "ENTERPRISE-APPN-40"
	elif imagecode == "adjv56":
		subdirectory = "ENTERPRISE-APPN-56"
	elif imagecode == "dsv40":
		subdirectory = "DESKTOP-IPSEC-40"
	elif imagecode == "catalog":
		subdirectory = "DEVICE-CATALOG"
	elif imagecode == "devicemgr":
		subdirectory = "DEVICE-MANAGER"
	elif imagecode == "inu":
		subdirectory = "NETWORK-LAYER-3-SWITCHING"
	elif imagecode == "device-pack":
		subdirectory = "DEVICE-PACK"
	elif imagecode == "hdiag":
		subdirectory = "DIAGNOSTICS"
	elif imagecode == "dart":
		subdirectory = "DIAGNOSTICS-AND-REPORTING"
	elif imagecode == "dsc":
		subdirectory = "DIAL-SHELF-CONTROLLER"
	elif imagecode == "w3":
		subdirectory = "DISTRIBUTED-DIRECTOR-SYSTEM-SOFTWARE"
	elif imagecode == "dmon":
		subdirectory = "DMON"
	elif imagecode == "ik8su2":
		subdirectory = "DOCSIS-2-WAY-BPI-IP+-LAWFUL-INTERCEPT"
	elif imagecode == "k8pu2":
		subdirectory = "DOCSIS-2-WAY-BPI-LAWFUL-INTERCEPT"
	elif imagecode == "k9pu2":
		subdirectory = "DOCSIS-3DES-LAWFUL-INTERCEPT"
	elif imagecode == "k9p6u2":
		subdirectory = "DOCSIS-3DES-LAWFUL-INTERCEPT"
	elif imagecode == "k8p6u2":
		subdirectory = "DOCSIS-BPI-LAWFUL-INTERCEPT"
	elif imagecode == "docs":
		subdirectory = "DOCUMENTATION"
	elif imagecode == "drivers":
		subdirectory = "DRIVERS"
	elif imagecode == "driverseseries":
		subdirectory = "DRIVERS"
	elif imagecode == "dsl":
		subdirectory = "DSL"
	elif imagecode == "dslfirmware":
		subdirectory = "DSL-FIRMWARE"
	elif imagecode == "p10":
		subdirectory = "EDGE-SERVICES-ROUTER"
	elif imagecode == "p11":
		subdirectory = "EDGE-SERVICES-ROUTER"
	elif imagecode == "efi":
		subdirectory = "EFI"
	elif imagecode == "EHWICCELLATT":
		subdirectory = "EHWIC-4G-LTE-A"
	elif imagecode == "EHWICCELLBE":
		subdirectory = "EHWIC-4G-LTE-BE"
	elif imagecode == "EHWICCELLEU":
		subdirectory = "EHWIC-4G-LTE-EU"
	elif imagecode == "EHWICCELLG":
		subdirectory = "EHWIC-4G-LTE-G"
	elif imagecode == "EHWICCELLVZW":
		subdirectory = "EHWIC-4G-LTE-V"
	elif imagecode == "EHWIC4GLTEST":
		subdirectory = "EHWIC-4G-LTE-ST"
	elif imagecode == "EHWIC4GLTEAT":
		subdirectory = "EHWIC-4G-LTE-AT"
	elif imagecode == "EHWIC4GLTECA":
		subdirectory = "EHWIC-4G-LTE-CA"
	elif imagecode == "EHWIC4GLTEAU":
		subdirectory = "EHWIC-4G-LTE-AU"
	elif imagecode == "EHWIC4GLTEGB":
		subdirectory = "EHWIC-4G-LTE-GB"
	elif imagecode == "EHWIC4GLTEVZ":
		subdirectory = "EHWIC-4G-LTE-VZ"
	elif imagecode == "C819GWLTEMNAAK9":
		subdirectory = "C819GW-LTE-MNA-AK9"
	elif imagecode == "EHWICVADSLB":
		subdirectory = "EHWIC-VA-DSL-B-C886VA-C896VA"
	elif imagecode == "i6k2l2q4":
		subdirectory = "EI-AND-SI-CRYPTO"
	elif imagecode == "emailsecurity":
		subdirectory = "EMAIL-SECURITY-APPLIANCE"
	elif imagecode == "engine":
		subdirectory = "ENGINE"
	elif imagecode == "engine0":
		subdirectory = "ENGINE-0"
	elif imagecode == "engine1":
		subdirectory = "ENGINE-1"
	elif imagecode == "engine2":
		subdirectory = "ENGINE-2"
	elif imagecode == "engine3":
		subdirectory = "ENGINE-3"
	elif imagecode == "engine4":
		subdirectory = "ENGINE-4"
	elif imagecode == "i5s":
		subdirectory = "ENHANCED-L3"
	elif imagecode == "i5k91s":
		subdirectory = "ENHANCED-L3-3DES"
	elif imagecode == "c6is":
		subdirectory = "ENHANCED-PDSN"
	elif imagecode == "c6ik9s":
		subdirectory = "ENHANCED-PDSN-WITH-CRYPTO"
	elif imagecode == "j":
		subdirectory = "ENTERPRISE"
	elif imagecode == "jsv":
		subdirectory = "ENTERPRISE"
	elif imagecode == "k":
		subdirectory = "ENTERPRISE"
	elif imagecode == "jsv40":
		subdirectory = "ENTERPRISE-40"
	elif imagecode == "jsv56":
		subdirectory = "ENTERPRISE-56"
	elif imagecode == "js40":
		subdirectory = "ENTERPRISE-PLUS-40"
	elif imagecode == "js56":
		subdirectory = "ENTERPRISE-PLUS-56"
	elif imagecode == "ajs":
		subdirectory = "ENTERPRISE-APPN-PLUS"
	elif imagecode == "ajs40":
		subdirectory = "ENTERPRISE-APPN-PLUS-IPSEC-40"
	elif imagecode == "ajs56i":
		subdirectory = "ENTERPRISE-APPN-PLUS-IPSEC-56"
	elif imagecode == "ajsv":
		subdirectory = "ENTERPRISE-APPN"
	elif imagecode == "ajsv40":
		subdirectory = "ENTERPRISE-APPN-40"
	elif imagecode == "ajsv56":
		subdirectory = "ENTERPRISE-APPN-56"
	elif imagecode == "aejs":
		subdirectory = "ENTERPRISE/APPN/DBCONN"
	elif imagecode == "aejs40":
		subdirectory = "ENTERPRISE/APPN/DBCONN 40"
	elif imagecode == "aejs56i":
		subdirectory = "ENTERPRISE/APPN/DBCONN IPSEC 56"
	elif imagecode == "aejs":
		subdirectory = "ENTERPRISE-APPN-DBCONN"
	elif imagecode == "aejsv":
		subdirectory = "ENTERPRISE-APPN-DBCONN"
	elif imagecode == "aejsv40":
		subdirectory = "ENTERPRISE-APPN-DBCONN-40"
	elif imagecode == "aejsv56i":
		subdirectory = "ENTERPRISE-APPN-DBCONNC-56"
	elif imagecode == "entbasek9":
		subdirectory = "ENTERPRISE-BASE"
	elif imagecode == "entbase":
		subdirectory = "ENTERPRISE-BASE-NO-CRYPTO"
	elif imagecode == "j1s3":
		subdirectory = "ENTERPRISE-BASIC"
	elif imagecode == "k2":
		subdirectory = "ENTERPRISE-CIP2"
	elif imagecode == "k2o3sv3y":
		subdirectory = "IP-FW-VOICE-PLUS-IPSEC-3DES"
	elif imagecode == "k2sv3y":
		subdirectory = "IP-VOICE-PLUS-IPSEC-3DES"
	elif imagecode == "bk2no3r2sy":
		subdirectory = "IP-IPX-AT-IBM-FW-PLUS-IPSEC-3DES"
	elif imagecode == "sv3y56i":
		subdirectory = "IP-VOICE-PLUS-IPSEC-56"
	elif imagecode == "o3sv3y56i":
		subdirectory = "IP-FW-VOICE-PLUS-IPSEC-56"
	elif imagecode == "k2o3sy":
		subdirectory = "IP-FW-PLUS-IPSEC-3DES"
	elif imagecode == "sv3y756i":
		subdirectory = "IP-VOICE-PLUS-IPSEC-56-ADSL"
	elif imagecode == "bno3r2sv3y56i":
		subdirectory = "IP-IPX-AT-IBM-FW-VOICE-PLUS-IPSEC-56"
	elif imagecode == "bk2no3r2sv3y":
		subdirectory = "IP-IPX-AT-IBM-FW-VOICE-PLUS-IPSEC-3DES"
	elif imagecode == "isv":
		subdirectory = "IP"
#	elif imagecode == "is":
#		subdirectory = "IP"
	elif imagecode == "isv40":
		subdirectory = "IP-40"
	elif imagecode == "isv56":
		subdirectory = "IP-56"
	elif imagecode == "c3h2s":
		subdirectory = "ENTERPRISE-COMMAND-CAPABLE"
	elif imagecode == "jo3s":
		subdirectory = "ENTERPRISE-FW-IDS"
	elif imagecode == "ainr":
		subdirectory = "IP-IPX-IBM-APPN"
	elif imagecode == "jo3sv":
		subdirectory = "ENTERPRISE-FW-IDS"
	elif imagecode == "bnr2y":
		subdirectory = "IP-IPX-AT-IBM"
	elif imagecode == "bnr2sy":
		subdirectory = "IP-IPX-AT-IBM-PLUS"
	elif imagecode == "bnr2sy40":
		subdirectory = "IP-IPX-AT-IBM-PLUS-40"
	elif imagecode == "bnr2sy56":
		subdirectory = "IP-IPX-AT-IBM-PLUS-56"
	elif imagecode == "jk2o3sv":
		subdirectory = "ENTERPRISE-FW-IDS-IPSEC-3DES"
	elif imagecode == "jk9o3s":
		subdirectory = "ENTERPRISE-FW-IDS-IPSEC-3DES"
	elif imagecode == "io3s56i":
		subdirectory = "IP-FW-PLUS-IPSEC-56"
	elif imagecode == "jk8o3s":
		subdirectory = "ENTERPRISE-FW-IDS-IPSEC-56"
	elif imagecode == "jk8o3sv":
		subdirectory = "ENTERPRISE-FW-IDS-IPSEC-56"
	elif imagecode == "jo3s56i":
		subdirectory = "ENTERPRISE-FW-IDS-IPSEC-56"
	elif imagecode == "jo3sv56i":
		subdirectory = "ENTERPRISE-FW-IDS-IPSEC-56"
	elif imagecode == "jk2o3s":
		subdirectory = "ENTERPRISE-FW-IDS-PLUS-IPSEC-3DES"
	elif imagecode == "jk9o3sv":
		subdirectory = "ENTERPRISE-FW-MPLS-IPV6-SSH-3DES"
	elif imagecode == "jk8os":
		subdirectory = "ENTERPRISE-FW-PLUS-IPSEC-56"
	elif imagecode == "jos56i":
		subdirectory = "ENTERPRISE-FW-PLUS-IPSEC-56"
	elif imagecode == "jk2sv":
		subdirectory = "ENTERPRISE-IPSEC-3DES"
	elif imagecode == "jk9s":
		subdirectory = "ENTERPRISE-IPSEC-3DES"
	elif imagecode == "jk9su2":
		subdirectory = "ENTERPRISE-IPSEC-3DES-LAWFUL-INTERCEPT"
	elif imagecode == "jk9su2v":
		subdirectory = "ENTERPRISE-IPSEC-3DES-LAWFUL-INTERCEPT"
	elif imagecode == "jk8s":
		subdirectory = "ENTERPRISE-IPSEC-56"
	elif imagecode == "jk8sv":
		subdirectory = "ENTERPRISE-IPSEC-56"
	elif imagecode == "jsv56i":
		subdirectory = "ENTERPRISE-IPSEC-56"
	elif imagecode == "jk9sv":
		subdirectory = "ENTERPRISE-IPV6-SSH-3DES"
	elif imagecode == "jsu2":
		subdirectory = "ENTERPRISE-LAWFUL-INTERCEPT"
	elif imagecode == "jx2":
		subdirectory = "ENTERPRISE-MCM"
	elif imagecode == "js":
		subdirectory = "ENTERPRISE-PLUS"
	elif imagecode == "js56":
		subdirectory = "ENTERPRISE-PLUS-56"
	elif imagecode == "a2jsv5x":
		subdirectory = "ENTERPRISE-PLUS-H323-MCM"
	elif imagecode == "jsx":
		subdirectory = "ENTERPRISE-PLUS-H323-MCM"
	elif imagecode == "js56i":
		subdirectory = "ENTERPRISE-PLUS-IPSEC-56"
	elif imagecode == "a2jsv5":
		subdirectory = "ENTERPRISE-PLUS-VOIP-VOATM"
	elif imagecode == "a2jk2sv5":
		subdirectory = "ENTERPRISE-PLUS-VOIP-VOATM-IPSEC-3DES"
	elif imagecode == "a2jk9sv5":
		subdirectory = "ENTERPRISE-PLUS-VOIP-VOATM-IPSEC-3DES"
	elif imagecode == "a2jk8sv5":
		subdirectory = "ENTERPRISE-PLUS-VOIP-VOATM-IPSEC-56"
	elif imagecode == "entservicesk9":
		subdirectory = "ENTERPRISE-SERVICES"
	elif imagecode == "entservicesk9_wan":
		subdirectory = "ENTERPRISE-SERVICES"
	elif imagecode == "entservices":
		subdirectory = "ENTERPRISE-SERVICES-NO-CRYPTO"
	elif imagecode == "entservices_wan":
		subdirectory = "ENTERPRISE-SERVICES-NO-CRYPTO"
	elif imagecode == "a3jsv":
		subdirectory = "ENTERPRISE-SNASW"
	elif imagecode == "a3jk2sv":
		subdirectory = "ENTERPRISE-SNASW-IPSEC-3DES"
	elif imagecode == "a3jk9s":
		subdirectory = "ENTERPRISE-SNASW-IPSEC-3DES"
	elif imagecode == "a3jk9sv":
		subdirectory = "ENTERPRISE-SNASW-IPSEC-3DES"
	elif imagecode == "a3jk8s":
		subdirectory = "ENTERPRISE-SNASW-IPSEC-56"
	elif imagecode == "a3jk8sv":
		subdirectory = "ENTERPRISE-SNASW-IPSEC-56"
	elif imagecode == "a3jsv56i":
		subdirectory = "ENTERPRISE-SNASW-IPSEC-56"
	elif imagecode == "a3js":
		subdirectory = "ENTERPRISE-SNASW-PLUS"
	elif imagecode == "a3jk91s":
		subdirectory = "ENTERPRISE-SNASW-SSH-3DES"
	elif imagecode == "g4js":
		subdirectory = "ENTERPRISE-SSG"
	elif imagecode == "jk2s":
		subdirectory = "ENTERPRISE-SSH-3DES-LAN-ONLY"
	elif imagecode == "g5js":
		subdirectory = "ENTERPRISE-WIRELESS"
	elif imagecode == "g5jk8s":
		subdirectory = "ENTERPRISE-WIRELESS-IPSEC-56"
	elif imagecode == "driversucse":
		subdirectory = "E-SERIES/DRIVERS"
	elif imagecode == "events":
		subdirectory = "EVENTS"
	elif imagecode == "fdiagsbflc":
		subdirectory = "FIELD-DIAGNOSTICS-LINECARD-IMAGE"
	elif imagecode == "fpd":
		subdirectory = "FIELD-PROGRAMABLE-DEVICE"
	elif imagecode == "fips":
		subdirectory = "FIPS"
	elif imagecode == "fpasamodule":
		subdirectory = "MODULE-ASA"
	elif imagecode == "fpasamode":
		subdirectory = "FIREPOWER-ASA-MODE/FIREPOWER-MODULE"
	elif imagecode == "fpasasystem":
		subdirectory = "FIREPOWER-ASA-MODE/SYSTEM"
	elif imagecode == "fpftdmodule":
		subdirectory = "MODULE-FTD"
	elif imagecode == "fmc":
		subdirectory = "FIREPOWER-MANAGEMENT-CENTER"
	elif imagecode == "firepower-mibs":
		subdirectory = "FIREPOWER-MIBS"
	elif imagecode == "fxos-mibs-fp9k-fp4k":
		subdirectory = "FIREPOWER-MIBS-9K-4K"
	elif imagecode == "firmware":
		subdirectory = "FIRMWARE"
	elif imagecode == "firmwareeseries":
		subdirectory = "FIRMWARE"
	elif imagecode == "fxos-k9-fpr4k-firmware":
		subdirectory = "FIRMWARE-4K"
	elif imagecode == "fxos-k9-fpr9k-firmware":
		subdirectory = "FIRMWARE-9K"
	elif imagecode == "epld":
		subdirectory = "FIRMWARE-EPLD"
	elif imagecode == "fpga":
		subdirectory = "FPGA-UPGRADE"
	elif imagecode == "f":
		subdirectory = "FRAD"
	elif imagecode == "fin":
		subdirectory = "FRAD-EIGRP"
	elif imagecode == "fwsmtoasasm":
		subdirectory = "FWSM-TO-ASASM-CONVERSION"
	elif imagecode == "fxos-k9":
		subdirectory = "FXOS"
	elif imagecode == "fxos-k9-kickstart":
		subdirectory = "FXOS-RECOVERY/KICKSTART"
	elif imagecode == "fxos-k9-manager":
		subdirectory = "FXOS-RECOVERY/MANAGER"
	elif imagecode == "fxos-k9-system":
		subdirectory = "FXOS-RECOVERY/SYSTEM"
	elif imagecode == "sfgeodb":
		subdirectory = "GeoDB-SRU-VDB/Geodb"
	elif imagecode == "csfgeodb":
		subdirectory = "GeoDB-SRU-VDB/Geodb-6.4-AND-LATER"
	elif imagecode == "sfrules":
		subdirectory = "GeoDB-SRU-VDB/Rules"
	elif imagecode == "csfrules":
		subdirectory = "GeoDB-SRU-VDB/Rules-6.4-AND-LATER"
	elif imagecode == "sfvdb":
		subdirectory = "GeoDB-SRU-VDB/VDB"
	elif imagecode == "csfvdb":
		subdirectory = "GeoDB-SRU-VDB/VDB-6.4-AND-LATER"
	elif imagecode == "lsprel":
		subdirectory = "GeoDB-SRU-VDB/Lightweight-Security-Package"
	elif imagecode == "g6ik9s":
		subdirectory = "GGSN-4.0-3DES"
	elif imagecode == "g6is":
		subdirectory = "GGSN-4.0-BASE"
	elif imagecode == "g6ik8s":
		subdirectory = "GGSN-4.0-IPSEC"
	elif imagecode == "entservices_mw":
		subdirectory = "GGSN-RELEASE-6"
	elif imagecode == "adventerprisek9_mw":
		subdirectory = "GGSN-RELEASE-6-IPSEC"
	elif imagecode == "g7is":
		subdirectory = "GGSN-SERIES-4-BASE"
	elif imagecode == "g8ik9s":
		subdirectory = "GGSN-SERIES-6-3DES"
	elif imagecode == "g8ik8s":
		subdirectory = "GGSN-SERIES-6-IPSEC"
	elif imagecode == "g8is":
		subdirectory = "GGSN-SERIES-6-BASE"
	elif imagecode == "gina":
		subdirectory = "GINA-MODULE"
	elif imagecode == "hardware":
		subdirectory = "HARDWARE-PROGRAMMABLES"
	elif imagecode == "k1v4y5":
		subdirectory = "HOME-OFFICE-VOICE-(SGCP-and-H.323)"
	elif imagecode == "hostscan":
		subdirectory = "HOST-SCAN"
	elif imagecode == "ins":
		subdirectory = "IP-IPX-PLUS"
	elif imagecode == "huu":
		subdirectory = "HOST-UPGRADE-UTILITY"
	elif imagecode == "html":
		subdirectory = "HTML"
	elif imagecode == "HWIC3GGSM":
		subdirectory = "HWIC-3G-GSM"
	elif imagecode == "HWICCABLE":
		subdirectory = "HWIC-CABLE"
	elif imagecode == "hyperv":
		subdirectory = "HYPERv"
	elif imagecode == "install":
		subdirectory = "INSTALL"
	elif imagecode == "installer":
		subdirectory = "INSTALLER"
	elif imagecode == "installer-ase":
		subdirectory = "INSTALLER-ASE"
	elif imagecode == "ipvoice_ivs":
		subdirectory = "INT-VOICE-VIDEO,-IPIP-GW,-TDMIP-GW"
	elif imagecode == "adventerprisek9_ivs":
		subdirectory = "INT-VOICE-VIDEO-GK,-IPIP-GW,-TDMIP-GW-AES"
	elif imagecode == "adventerprisek9_ivs_li":
		subdirectory = "INT-VOICE-VIDEO-GK,-IPIP-GW,-TDMIP-GW-AES,-LI"
	elif imagecode == "js_ivs":
		subdirectory = "INT-VOICE-VIDEO-IPIP-GW,-TDMIP-GW"
	elif imagecode == "jk9su2_ivs":
		subdirectory = "INT-VOICE-VIDEO-IPIP-GW,-TDMIP-GW-LI"
	elif imagecode == "ucmk9":
		subdirectory = "IOS-XE-SD-WAN"
	elif imagecode == "i":
		subdirectory = "IP"
	elif imagecode == "isv":
		subdirectory = "IP"
	elif imagecode == "y":
		subdirectory = "IP"
	elif imagecode == "y1":
		subdirectory = "IP"
	elif imagecode == "y6":
		subdirectory = "IP"
	elif imagecode == "y7":
		subdirectory = "IP-ADSL"
	elif imagecode == "k9o3sy7":
		subdirectory = "IP-ADSL-FW-IDS-PLUS-IPSEC-3DES"
	elif imagecode == "k8o3sy7":
		subdirectory = "IP-ADSL-FW-IDS-PLUS-IPSEC-56"
	elif imagecode == "bk9no3r2sy7":
		subdirectory = "IP-ADSL-IPX-AT-IBM-FW-IDS-PLUS-IPSEC-3DES"
	elif imagecode == "bk8no3r2sy7":
		subdirectory = "IP-ADSL-IPX-AT-IBM-FW-IDS-PLUS-IPSEC-56"
	elif imagecode == "bnr2sy7":
		subdirectory = "IP-ADSL-IPX-AT-IBM-PLUS"
	elif imagecode == "bk9no3r2sv3y7":
		subdirectory = "IP-ADSL-IPX-AT-IBM-VOICE-FW-IDS-PLUS-IPSEC-3DES"
	elif imagecode == "bk8no3r2sv3y7":
		subdirectory = "IP-ADSL-IPX-AT-IBM-VOICE-FW-IDS-PLUS-IPSEC-56"
	elif imagecode == "bk9no3r2sv8y7":
		subdirectory = "IP-ADSL-IPX-AT-IBM-VOX-FW-IDS-PLUS-IPSEC-3DES"
	elif imagecode == "bk8no3r2sv8y7":
		subdirectory = "IP-ADSL-IPX-AT-IBM-VOX-FW-IDS-PLUS-IPSEC-56"
	elif imagecode == "no3sy7":
		subdirectory = "IP-ADSL-IPX-FW-IDS-PLUS"
	elif imagecode == "no3sv3y7":
		subdirectory = "IP-ADSL-IPX-VOICE-FW-IDS-PLUS"
	elif imagecode == "no3sv8y7":
		subdirectory = "IP-ADSL-IPX-VOX-FW-IDS-PLUS"
	elif imagecode == "sy7":
		subdirectory = "IP-ADSL-PLUS"
	elif imagecode == "k9sy7":
		subdirectory = "IP-ADSL-PLUS-IPSEC-3DES"
	elif imagecode == "k8sy7":
		subdirectory = "IP-ADSL-PLUS-IPSEC-56"
	elif imagecode == "o3sv3y7":
		subdirectory = "IP-ADSL-VOICE-FW-IDS-PLUS"
	elif imagecode == "k9o3sv3y7":
		subdirectory = "IP-ADSL-VOICE-FW-IDS-PLUS-IPSEC-3DES"
	elif imagecode == "k8o3sv3y7":
		subdirectory = "IP-ADSL-VOICE-FW-IDS-PLUS-IPSEC-56"
	elif imagecode == "sv3y7":
		subdirectory = "IP-ADSL-VOICE-PLUS"
	elif imagecode == "k9sv3y7":
		subdirectory = "IP-ADSL-VOICE-PLUS-IPSEC-3DES"
	elif imagecode == "k8sv3y7":
		subdirectory = "IP-ADSL-VOICE-PLUS-IPSEC-56"
	elif imagecode == "o3sv8y7":
		subdirectory = "IP-ADSL-VOX-FW-IDS-PLUS"
	elif imagecode == "k9o3sv8y7":
		subdirectory = "IP-ADSL-VOX-FW-IDS-PLUS-IPSEC-3DES"
	elif imagecode == "k8o3sv8y7":
		subdirectory = "IP-ADSL-VOX-FW-IDS-PLUS-IPSEC-56"
	elif imagecode == "sv8y7":
		subdirectory = "IP-ADSL-VOX-PLUS"
	elif imagecode == "k9sv8y7":
		subdirectory = "IP-ADSL-VOX-PLUS-IPSEC-3DES"
	elif imagecode == "k8sv8y7":
		subdirectory = "IP-ADSL-VOX-PLUS-IPSEC-56"
	elif imagecode == "qy":
		subdirectory = "IP-ASYNC"
	elif imagecode == "by":
		subdirectory = "IP-AT"
	elif imagecode == "a2i5k8s":
		subdirectory = "IP-ATM-PLUS-IPSEC-56-NO-ISDN"
	elif imagecode == "a2i5s":
		subdirectory = "IP-ATM-PLUS-NO-ISDN"
	elif imagecode == "a2i8sv5":
		subdirectory = "IP-ATM-VOIP-VOATM"
	elif imagecode == "a2i8k8sv5":
		subdirectory = "IP-ATM-VOIP-VOATM-PLUS-IPSEC-56"
	elif imagecode == "i9k2":
		subdirectory = "IP-BASE"
	elif imagecode == "i9k2l2q3":
		subdirectory = "IP-BASE"
	elif imagecode == "i9k91":
		subdirectory = "IP-BASE"
	elif imagecode == "i9k91l2q3":
		subdirectory = "IP-BASE"
	elif imagecode == "ipbasek9":
		subdirectory = "IP-BASE"
	elif imagecode == "ipbasek9_wan":
		subdirectory = "IP-BASE"
	elif imagecode == "ipbasek9_access":
		subdirectory = "IP-BASE-ACCESS-ONLY"
	elif imagecode == "ipbase_access":
		subdirectory = "IP-BASE-ACCESS-ONLY-NO-CRYPTO"
	elif imagecode == "i9":
		subdirectory = "IP-BASE-NO-CRYPTO"
	elif imagecode == "i9q3l2":
		subdirectory = "IP-BASE-NO-CRYPTO"
	elif imagecode == "ipbase":
		subdirectory = "IP-BASE-NO-CRYPTO"
	elif imagecode == "ipbase_wan":
		subdirectory = "IP-BASE-NO-CRYPTO"
	elif imagecode == "ipbaselm":
		subdirectory = "IP-BASE-NO-CRYPTO-WITH-EXPRESS-SETUP"
	elif imagecode == "ipbasek9_npe":
		subdirectory = "IP-BASE-NPE"
	elif imagecode == "ipbasek9npe":
		subdirectory = "IP-BASE-NPE"
	elif imagecode == "ipbaselmk9":
		subdirectory = "IP-BASE-WITH-EXPRESS-SETUP"
	elif imagecode == "in":
		subdirectory = "IP-BRIDGING"
	elif imagecode == "broadband":
		subdirectory = "IP-BROADBAND"
	elif imagecode == "io":
		subdirectory = "IP-FW"
	elif imagecode == "oy":
		subdirectory = "IP-FW"
	elif imagecode == "oy1":
		subdirectory = "IP-FW"
	elif imagecode == "oy6":
		subdirectory = "IP-FW"
	elif imagecode == "k9o3y6":
		subdirectory = "IP-FW-3DES"
	elif imagecode == "k9oy1":
		subdirectory = "IP-FW-3DES"
	elif imagecode == "k9oy6":
		subdirectory = "IP-FW-3DES"
	elif imagecode == "io3":
		subdirectory = "IP-FW-IDS"
	elif imagecode == "io3s":
		subdirectory = "IP-FW-IDS"
	elif imagecode == "io3sv":
		subdirectory = "IP-FW-IDS"
	elif imagecode == "o3y":
		subdirectory = "IP-FW-IDS"
	elif imagecode == "ik2o3s":
		subdirectory = "IP-FW-IDS-IPSEC-3DES"
	elif imagecode == "ik2o3sv":
		subdirectory = "IP-FW-IDS-IPSEC-3DES"
	elif imagecode == "ik9o3s":
		subdirectory = "IP-FW-IDS-IPSEC-3DES"
	elif imagecode == "ik9o3sv":
		subdirectory = "IP-FW-IDS-IPSEC-3DES"
	elif imagecode == "ik8o3s":
		subdirectory = "IP-FW-IDS-IPSEC-56"
	elif imagecode == "ik8o3sv":
		subdirectory = "IP-FW-IDS-IPSEC-56"
	elif imagecode == "io3sv56i":
		subdirectory = "IP-FW-IDS-IPSEC-56"
	elif imagecode == "o3sy56i":
		subdirectory = "IP-FW-IDS-PLUS-IPSEC-3DES"
	elif imagecode == "ik9o3s3":
		subdirectory = "IP-FW-IDS-PLUS-IPSEC-3DES-BASIC"
	elif imagecode == "ik9o3s6":
		subdirectory = "IP-FW-IDS-PLUS-IPSEC-3DES-BASIC-NO-ATM"
	elif imagecode == "ik9o3s7":
		subdirectory = "IP-FW-IDS-PLUS-IPSEC-3DES-BASIC-NO-VOICE"
	elif imagecode == "k8o3sy":
		subdirectory = "IP-FW-IDS-PLUS-IPSEC-56"
	elif imagecode == "o3sy6":
		subdirectory = "IP-FW-PLUS"
	elif imagecode == "osy6":
		subdirectory = "IP-FW-PLUS"
	elif imagecode == "k9o3sy6":
		subdirectory = "IP-FW-PLUS-3DES"
	elif imagecode == "k2osy6":
		subdirectory = "IP-FW-PLUS-IPSEC-3DES"
	elif imagecode == "k9osy6":
		subdirectory = "IP-FW-PLUS-IPSEC-3DES"
	elif imagecode == "ik8os":
		subdirectory = "IP-FW-PLUS-IPSEC-56"
	elif imagecode == "ios56i":
		subdirectory = "IP-FW-PLUS-IPSEC-56"
	elif imagecode == "k8osy":
		subdirectory = "IP-FW-PLUS-IPSEC-56"
	elif imagecode == "k8osy6":
		subdirectory = "IP-FW-PLUS-IPSEC-56"
	elif imagecode == "osy56i":
		subdirectory = "IP-FW-PLUS-IPSEC-56"
	elif imagecode == "osy656i":
		subdirectory = "IP-FW-PLUS-IPSEC-56"
	elif imagecode == "k9o3s8y6":
		subdirectory = "IP-FW-PLUS-ISDN-DIAL-BACKUP-3DES-VPN"
	elif imagecode == "ov6y6":
		subdirectory = "IP-FW-VOICE"
	elif imagecode == "k9osv6y6":
		subdirectory = "IP-FW-VOICE-PLUS-3DES"
	elif imagecode == "k9o3sv3y":
		subdirectory = "IP-FW-VOICE-PLUS-IPSEC-3DES"
	elif imagecode == "ix":
		subdirectory = "IP-H323"
	elif imagecode == "is3x":
		subdirectory = "IP-H323-PLUS-BASIC"
	elif imagecode == "ai3r4":
		subdirectory = "IP-IBM-APPN7"
	elif imagecode == "a3i3r4":
		subdirectory = "IP-IBM-SNASW"
	elif imagecode == "ik2s":
		subdirectory = "IP-PLUS-IPSEC-3DES"
	elif imagecode == "ik9su2":
		subdirectory = "IP-IPSEC-3DES-LAWFUL-INTERCEPT"
	elif imagecode == "ik8sv":
		subdirectory = "IP-IPSEC-56"
	elif imagecode == "isv56i":
		subdirectory = "IP-IPSEC-56"
	elif imagecode == "ny":
		subdirectory = "IP-IPX"
	elif imagecode == "bin":
		subdirectory = "IP-IPX-APPLETALK"
	elif imagecode == "bins":
		subdirectory = "IP-IPX-APPLETALK-PLUS"
	elif imagecode == "bino3s":
		subdirectory = "IP-IPX-APPLETALK-PLUS-FW-IDS"
	elif imagecode == "nqy":
		subdirectory = "IP-IPX-ASYNC"
	elif imagecode == "bny":
		subdirectory = "IP-IPX-AT"
	elif imagecode == "d":
		subdirectory = "IP-IPX-AT-DEC"
	elif imagecode == "dos":
		subdirectory = "IP-IPX-AT-DEC-FW-PLUS"
	elif imagecode == "ds":
		subdirectory = "IP-IPX-AT-DEC-PLUS"
	elif imagecode == "ds40":
		subdirectory = "IP-IPX-AT-DEC-PLUS-40"
	elif imagecode == "bino3s3":
		subdirectory = "IP-IPX-AT-FW-IDS-PLUS-BASIC"
	elif imagecode == "bnr2y":
		subdirectory = "IP-IPX-AT-IBM"
	elif imagecode == "bk8no3r2sy":
		subdirectory = "IP-IPX-AT-IBM-FW-IDS-PLUS-IPSEC-56"
	elif imagecode == "bk8nor2sy":
		subdirectory = "IP-IPX-AT-IBM-FW-PLUS-IPSEC-56"
	elif imagecode == "bno3r2sy56i":
		subdirectory = "IP-IPX-AT-IBM-FW-PLUS-IPSEC-56"
	elif imagecode == "bnor2sy56i":
		subdirectory = "IP-IPX-AT-IBM-FW-PLUS-IPSEC-56"
	elif imagecode == "bk9no3r2sv3y":
		subdirectory = "IP-IPX-AT-IBM-FW-VOICE-PLUS-IPSEC-3DES"
	elif imagecode == "bk8no3r2sv3":
		subdirectory = "IP-IPX-AT-IBM-FW-VOICE-PLUS-IPSEC-56"
	elif imagecode == "bnr2sy":
		subdirectory = "IP-IPX-AT-IBM-PLUS"
	elif imagecode == "bk8no3r2sv3y":
		subdirectory = "IP-IPX-AT-IBM-VOICE-FW-IDS-PLUS-IPSEC-56"
	elif imagecode == "bnr2sv3y":
		subdirectory = "IP-IPX-AT-IBM-VOICE-PLUS"
	elif imagecode == "bnsy":
		subdirectory = "IP-IPX-AT-PLUS"
	elif imagecode == "bnsy40":
		subdirectory = "IP-IPX-AT-PLUS-40"
	elif imagecode == "bnsy56":
		subdirectory = "IP-IPX-AT-PLUS-56"
	elif imagecode == "no3sy":
		subdirectory = "IP-IPX-FW-IDS-PLUS"
	elif imagecode == "ino3s3":
		subdirectory = "IP-IPX-FW-IDS-PLUS-BASIC"
	elif imagecode == "nosy":
		subdirectory = "IP-IPX-FW-PLUS"
	elif imagecode == "k2nosy6":
		subdirectory = "IP-IPX-FW-PLUS-IPSEC-3DES"
	elif imagecode == "k9nosy6":
		subdirectory = "IP-IPX-FW-PLUS-IPSEC-3DES"
	elif imagecode == "k8nosy6":
		subdirectory = "IP-IPX-FW-PLUS-IPSEC-56"
	elif imagecode == "nosy656i":
		subdirectory = "IP-IPX-FW-PLUS-IPSEC-56"
	elif imagecode == "nsy":
		subdirectory = "IP-IPX-PLUS"
	elif imagecode == "nsy6":
		subdirectory = "IP-IPX-PLUS"
	elif imagecode == "no3sv3y":
		subdirectory = "IP-IPX-VOICE-FW-IDS-PLUS"
	elif imagecode == "isu2":
		subdirectory = "IP-LAWFUL-INTERCEPT"
	elif imagecode == "itpk9":
		subdirectory = "IP-MAP-GATEWAY-BASE"
	elif imagecode == "iosxr":
		subdirectory = "IP-MPLS"
	elif imagecode == "y2":
		subdirectory = "IP-OSPF-PIM"
	elif imagecode == "i4s":
		subdirectory = "IP-PLUS"
	elif imagecode == "is":
		subdirectory = "IP-PLUS"
	elif imagecode == "sy":
		subdirectory = "IP-PLUS"
	elif imagecode == "sy6":
		subdirectory = "IP-PLUS"
	elif imagecode == "ik2sx3":
		subdirectory = "IP-PLUS-3DES"
	elif imagecode == "ik2o3sx3":
		subdirectory = "IP-PLUS-3DES-FW"
	elif imagecode == "is40":
		subdirectory = "IP-PLUS-40"
	elif imagecode == "is56":
		subdirectory = "IP-PLUS-56"
	elif imagecode == "is5":
		subdirectory = "IP-PLUS-BASIC-WITHOUT-HD-ANALOG-AIM-ATM-VOICE"
	elif imagecode == "is4":
		subdirectory = "IP-PLUS-BASIC-WITHOUT-SWITCHING"
	elif imagecode == "io3sx3":
		subdirectory = "IP-PLUS-FW"
	elif imagecode == "a3inro3sx3":
		subdirectory = "IP-PLUS-FW-IPX-SNA"
	elif imagecode == "ik2sv":
		subdirectory = "IP-PLUS-IPSEC-3DES"
	elif imagecode == "ik9s":
		subdirectory = "IP-PLUS-IPSEC-3DES"
	elif imagecode == "ik9sv":
		subdirectory = "IP-PLUS-IPSEC-3DES"
	elif imagecode == "k2sy":
		subdirectory = "IP-PLUS-IPSEC-3DES"
	elif imagecode == "i5k9s":
		subdirectory = "IP-PLUS-IPSEC-3DES-NO-ISDN"
	elif imagecode == "ik8s":
		subdirectory = "IP-PLUS-IPSEC-56"
	elif imagecode == "is56i":
		subdirectory = "IP-PLUS-IPSEC-56"
	elif imagecode == "isx356i":
		subdirectory = "IP-PLUS-IPSEC-56"
	elif imagecode == "k8sy":
		subdirectory = "IP-PLUS-IPSEC-56"
	elif imagecode == "sy56i":
		subdirectory = "IP-PLUS-IPSEC-56"
	elif imagecode == "io3sx356i":
		subdirectory = "IP-PLUS-IPSEC-56-FW"
	elif imagecode == "i5k8s":
		subdirectory = "IP-PLUS-IPSEC-56-NO-ISDN"
	elif imagecode == "bk9no3r2sy":
		subdirectory = "IP-PLUS-IPX-AT-IBM-FW_IDS-IPSEC-3DES"
	elif imagecode == "a3inrsx3c":
		subdirectory = "IP-PLUS-IPX-SNA"
	elif imagecode == "a3is":
		subdirectory = "IP-PLUS-SNASW-PLUS"
	elif imagecode == "ik91s":
		subdirectory = "IP-PLUS-SSH-3DES"
	elif imagecode == "a2isv5":
		subdirectory = "IP-PLUS-VOIP-VOATM"
	elif imagecode == "a2ik8sv5":
		subdirectory = "IP-PLUS-VOIP-VOATM-IPSEC-56"
	elif imagecode == "i5k2":
		subdirectory = "IP-SERVICES"
	elif imagecode == "i5k2l2q3":
		subdirectory = "IP-SERVICES"
	elif imagecode == "i5k91":
		subdirectory = "IP-SERVICES"
	elif imagecode == "i5k91l2q3":
		subdirectory = "IP-SERVICES"
	elif imagecode == "i5q312":
		subdirectory = "IP-SERVICES"
	elif imagecode == "ipservicesk9":
		subdirectory = "IP-SERVICES"
	elif imagecode == "ipservicesk9_wan":
		subdirectory = "IP-SERVICES"
	elif imagecode == "ipserviceslmk9_en":
		subdirectory = "IP-SERVICES-EXPRESS-SETUP-ENGLISH"
	elif imagecode == "i5":
		subdirectory = "IP-SERVICES-NO-CRYPTO"
	elif imagecode == "i5q3l2":
		subdirectory = "IP-SERVICES-NO-CRYPTO"
	elif imagecode == "ipservices":
		subdirectory = "IP-SERVICES-NO-CRYPTO"
	elif imagecode == "ipservices_wan":
		subdirectory = "IP-SERVICES-NO-CRYPTO"
	elif imagecode == "ipserviceslm":
		subdirectory = "IP-SERVICES-NO-CRYPTO-WITH-EXPRESS-SETUP"
	elif imagecode == "ipservicesk9_npe":
		subdirectory = "IP-SERVICES-NPE"
	elif imagecode == "ipserviceslmk9":
		subdirectory = "IP-SERVICES-WITH-EXPRESS-SETUP"
	elif imagecode == "ipservicesk9_li":
		subdirectory = "IP-SERVICES-WITH-LAWFUL-INTERCEPT"
	elif imagecode == "pk9sv":
		subdirectory = "IP-SSH-3DES"
	elif imagecode == "pk9s":
		subdirectory = "IP-SSH-3DES-LAN-ONLY"
	elif imagecode == "i6k9o3s":
		subdirectory = "IP-SUBSET-IPSEC-56-FW-VOICE"
	elif imagecode == "i6k9s":
		subdirectory = "IP-SUBSET-IPSEC-64-BIT-VOICE"
	elif imagecode == "i6s":
		subdirectory = "IP-SUBSET-VOICE"
	elif imagecode == "ipv":
		subdirectory = "IP-TRANSFER-POINT"
	elif imagecode == "itp":
		subdirectory = "IP-TRANSFER-POINT"
	elif imagecode == "itpk9v":
		subdirectory = "IP-TRANSFER-POINT"
	elif imagecode == "itpv":
		subdirectory = "IP-TRANSFER-POINT"
	elif imagecode == "ipvoicek9":
		subdirectory = "IP-VOICE"
	elif imagecode == "isx3":
		subdirectory = "IP-VOICE"
	elif imagecode == "v6y6":
		subdirectory = "IP-VOICE"
	elif imagecode == "o3sv3y":
		subdirectory = "IP-VOICE-FW-IDS-PLUS"
	elif imagecode == "k8o3sv3y":
		subdirectory = "IP-VOICE-FW-IDS-PLUS-IPSEC"
	elif imagecode == "binrsx3":
		subdirectory = "IP-VOICE-IPV6-IPX-APPLE-TALK"
	elif imagecode == "a3bik9no3rsx3":
		subdirectory = "IP-VOICE-IPX-SNA-FW-IDS-WAN-3DES"
	elif imagecode == "ipvoice":
		subdirectory = "IP-VOICE-NO-CRYPTO"
	elif imagecode == "sv3y":
		subdirectory = "IP-VOICE-PLUS"
	elif imagecode == "sv6y6":
		subdirectory = "IP-VOICE-PLUS"
	elif imagecode == "k8sv3y":
		subdirectory = "IP-VOICE-PLUS-IPSEC-56"
	elif imagecode == "sv8y":
		subdirectory = "IP-VOX-PLUS"
	elif imagecode == "g":
		subdirectory = "ISDN"
	elif imagecode == "isecompliance":
		subdirectory = "ISE-COMPLIANCE"
	elif imagecode == "iseposture":
		subdirectory = "ISE-POSTURE"
	elif imagecode == "ISRG2PVDMODEM":
		subdirectory = "ISR-G2-DIGITAL-MODEM"
	elif imagecode == "kickstart":
		subdirectory = "KICKSTART"
	elif imagecode == "kickstart-npe":
		subdirectory = "KICKSTART-NPE"
	elif imagecode == "kubernetes":
		subdirectory = "KUBERNETES"
	elif imagecode == "kvm":
		subdirectory = "KVM"
	elif imagecode == "l2l3cvt":
		subdirectory = "L2-L3-CONVERSION"
	elif imagecode == "i9k91s":
		subdirectory = "L3-VOICE"
	elif imagecode == "lanbase":
		subdirectory = "LAN-BASE"
	elif imagecode == "lanbasek9":
		subdirectory = "LAN-BASE-SSH"
	elif imagecode == "lanbasek9_en":
		subdirectory = "LAN-BASE-SSH-ENGLISH"
	elif imagecode == "lanbaselmk9":
		subdirectory = "LAN-BASE-SSH-WITH-EXPRESS-SETUP"
	elif imagecode == "lanbaselmk9_en":
		subdirectory = "LAN-BASE-SSH-WITH-EXPRESS-SETUP-ENGLISH"
	elif imagecode == "fin-l":
		subdirectory = "LAN-FRAD"
	elif imagecode == "f2in":
		subdirectory = "LAN-FRAD-OSPF"
	elif imagecode == "lanlite":
		subdirectory = "LAN-LITE"
	elif imagecode == "lanlitek9":
		subdirectory = "LAN-LITE-SSH"
	elif imagecode == "u2p10":
		subdirectory = "LAWFUL-INTERCEPT"
	elif imagecode == "k4u2p10":
		subdirectory = "LAWFUL-INTERCEPT-SECURED-SHELL-3DES"
	elif imagecode == "k9p11u2":
		subdirectory = "LAWFUL-INTERCEPT-SECURED-SHELL-3DES"
	elif imagecode == "k8p11u2":
		subdirectory = "LAWFUL-INTERCEPT-SECURED-SHELL-DES"
	elif imagecode == "i6q4l2":
		subdirectory = "LAYER-2"
	elif imagecode == "ucslinux":
		subdirectory = "LINUX"
	elif imagecode == "logagent":
		subdirectory = "LOG-AGENT"
	elif imagecode == "c3h2l9s":
		subdirectory = "LONG-REACH-ETHERNET"
	elif imagecode == "i6l2q4":
		subdirectory = "LONG-REACH-ETHERNET-NO-CRYPTO"
	elif imagecode == "mcp":
		subdirectory = "MANAGEMENT-CENTER-FOR-PERFORMANCE"
	elif imagecode == "metroaccessk9":
		subdirectory = "METRO-ACCESS"
	elif imagecode == "metroaccess":
		subdirectory = "METRO-ACCESS-NO-CRYPTO"
	elif imagecode == "metrobasek9":
		subdirectory = "METRO-BASE"
	elif imagecode == "metrobase":
		subdirectory = "METRO-BASE-NO-CRYPTO"
	elif imagecode == "metroipaccessk9":
		subdirectory = "METRO-IP-ACCESS"
	elif imagecode == "metroipaccess":
		subdirectory = "METRO-IP-ACCESS-NO-CRYPTO"
	elif imagecode == "mibs":
		subdirectory = "MIBS"
	elif imagecode == "mini":
		subdirectory = "MINI"
	elif imagecode == "mini-x64":
		subdirectory = "MINI-X64"
	elif imagecode == "i9su3":
		subdirectory = "MPEG-2-L2"
	elif imagecode == "i5su3":
		subdirectory = "MPEG-2-L3"
	elif imagecode == "mso":
		subdirectory = "MULTI-SITE-ORCHESTRATOR"
	elif imagecode == "h1is":
		subdirectory = "MW-HOME-AGENT"
	elif imagecode == "anyconnectnam":
		subdirectory = "NETWORK-ACCESS-MANAGER"
	elif imagecode == "nvm":
		subdirectory = "NETWORK-VISIBILITY-MODULE"
	elif imagecode == "np":
		subdirectory = "NEXTPORT-FIRMWARE"
	elif imagecode == "mica-modem":
		subdirectory = "NEXTPORT-MODEM-FIRMWARE"
	elif imagecode == "n9kacim":
		subdirectory = "NEXUS-9000-ACI-MODE"
	elif imagecode == "guestshell":
		subdirectory = "Nexus-Guestshell"
	elif imagecode == "ngfw":
		subdirectory = "NGFW"
	elif imagecode == "ngfwv":
		subdirectory = "NGFWV"
	elif imagecode == "wp":
		subdirectory = "NSP"
	elif imagecode == "g4p5":
		subdirectory = "NSP-SYSTEM"
	elif imagecode == "nvsat":
		subdirectory = "NVSATELLITE"
	elif imagecode == "virtual-ovf":
		subdirectory = "OVF-DEFINITION-FILES"
	elif imagecode == "pixpasswordrecovery":
		subdirectory = "PASSWORD-RECOVERY"
	elif imagecode == "patch":
		subdirectory = "PATCH"
	elif imagecode == "mpatch":
		subdirectory = "MODULARITY-PATCH"
	elif imagecode == "k9o3sv9y5":
		subdirectory = "PERFORMANCE-SMALL-OFFICE-VOICE-FW-IPSEC-3DES"
	elif imagecode == "pdm":
		subdirectory = "PIX-DEVICE-MANAGER"
	elif imagecode == "PIXtoASA":
		subdirectory = "PIX-TO-ASA"
	elif imagecode == "aciplgms":
		subdirectory = "PLUG-INS/MICROSOFT"
	elif imagecode == "aciplgvc":
		subdirectory = "PLUG-INS/VCENTER"
	elif imagecode == "aciplgvs":
		subdirectory = "PLUG-INS/VREALIZE"
	elif imagecode == "poap":
		subdirectory = "POAP"
	elif imagecode == "poap_ng":
		subdirectory = "POAP-NG"
	elif imagecode == "profileeditor":
		subdirectory = "PROFILE-EDITOR"
	elif imagecode == "adviprank9":
		subdirectory = "RAN-OPTIMIZATION"
	elif imagecode == "iprank9":
		subdirectory = "RAN-OPTIMIZATION"
	elif imagecode == "ipran":
		subdirectory = "RAN-OPTIMIZATION-NO-CRYPTO"
	elif imagecode == "rcv":
		subdirectory = "RECOVERY"
	elif imagecode == "sv12y10":
		subdirectory = "REDUCED-IP-ANALOG-VOICE-PLUS"
	elif imagecode == "sv3y10":
		subdirectory = "REDUCED-IP-VOICE-PLUS"
	elif imagecode == "c":
		subdirectory = "REMOTE-ACCESS-SERVER-(RAS)"
	elif imagecode == "restapi":
		subdirectory = "REST-API"
	elif imagecode == "rommon":
		subdirectory = "ROMMON"
	elif imagecode == "san-client":
		subdirectory = "SAN-CLIENT"
	elif imagecode == "sccp":
		subdirectory = "SCCP"
	elif imagecode == "sp1":
		subdirectory = "SERVICE-PACK-1"
	elif imagecode == "sp2":
		subdirectory = "SERVICE-PACK-2"
	elif imagecode == "sp3":
		subdirectory = "SERVICE-PACK-3"
	elif imagecode == "sp4":
		subdirectory = "SERVICE-PACK-4"
	elif imagecode == "sp5":
		subdirectory = "SERVICE-PACK-5"
	elif imagecode == "sp6":
		subdirectory = "SERVICE-PACK-6"
	elif imagecode == "sp7":
		subdirectory = "SERVICE-PACK-7"
	elif imagecode == "sp8":
		subdirectory = "SERVICE-PACK-8"
	elif imagecode == "sp9":
		subdirectory = "SERVICE-PACK-9"
	elif imagecode == "sp10":
		subdirectory = "SERVICE-PACK-10"
	elif imagecode == "sp11":
		subdirectory = "SERVICE-PACK-11"
	elif imagecode == "sp12":
		subdirectory = "SERVICE-PACK-12"
	elif imagecode == "p":
		subdirectory = "SERVICE-PROVIDER"
	elif imagecode == "p12":
		subdirectory = "SERVICE-PROVIDER"
	elif imagecode == "p4":
		subdirectory = "SERVICE-PROVIDER"
	elif imagecode == "pv":
		subdirectory = "SERVICE-PROVIDER"
	elif imagecode == "spservicesk9":
		subdirectory = "SERVICE-PROVIDER"
	elif imagecode == "p456i":
		subdirectory = "SERVICE-PROVIDER-ALTERNATE"
	elif imagecode == "pk9u2":
		subdirectory = "SERVICE-PROVIDER-IPSEC-3DES-LAWFUL-INTERCEPT"
	elif imagecode == "k8p4":
		subdirectory = "SERVICE-PROVIDER-IPSEC-56"
	elif imagecode == "ps":
		subdirectory = "SERVICE-PROVIDER-LAN-ONLY"
	elif imagecode == "p9":
		subdirectory = "SERVICE-PROVIDER-PLUS"
	elif imagecode == "k8p9":
		subdirectory = "SERVICE-PROVIDER-PLUS-IPSEC-3DES"
	elif imagecode == "k9p9":
		subdirectory = "SERVICE-PROVIDER-PLUS-IPSEC-3DES"
	elif imagecode == "k9p9u2":
		subdirectory = "SERVICE-PROVIDER-PLUS-IPSEC-3DES-LAWFUL-INTERCEPT"
	elif imagecode == "k3pv":
		subdirectory = "SERVICE-PROVIDER-SECURED-SHELL-3DES"
	elif imagecode == "k4p":
		subdirectory = "SERVICE-PROVIDER-SECURED-SHELL-3DES"
	elif imagecode == "k4p10":
		subdirectory = "SERVICE-PROVIDER-SECURED-SHELL-3DES"
	elif imagecode == "k91pv":
		subdirectory = "SERVICE-PROVIDER-SECURED-SHELL-3DES"
	elif imagecode == "dk2o3s":
		subdirectory = "DESKTOP-IBM-FW-IDS-IPSEC-3DES"
	elif imagecode == "a3js56i":
		subdirectory = "ENTERPRISE-SNASW-PLUS-IPSEC-56"
	elif imagecode == "a3jk2s":
		subdirectory = "ENTERPRISE-SNASW-PLUS-IPSEC-3DES"
	elif imagecode == "k9p11":
		subdirectory = "SERVICE-PROVIDER-SECURED-SHELL-3DES"
	elif imagecode == "k3p":
		subdirectory = "SERVICE-PROVIDER-SECURED-SHELL-56"
	elif imagecode == "k4pv":
		subdirectory = "SERVICE-PROVIDER-SECURED-SHELL-56"
	elif imagecode == "k91p":
		subdirectory = "SERVICE-PROVIDER-SECURE-SHELL-3DES"
	elif imagecode == "k9p":
		subdirectory = "SERVICE-PROVIDER-SSH-3DES"
	elif imagecode == "pk2s":
		subdirectory = "SERVICE-PROVIDER-SSH-3DES-LAN-ONLY"
	elif imagecode == "k9p12":
		subdirectory = "SERVICE-PROVIDER-WITH-CRYPTO"
	elif imagecode == "po3sv":
		subdirectory = "SERVICE-PROVIDER-WITH-FW-AND-VIP"
	elif imagecode == "pk2o3sv":
		subdirectory = "SERVICE-PROVIDER-WITH-FW-AND-VIP-3DES"
	elif imagecode == "p7":
		subdirectory = "SERVICE-PROVIDER-WITH-PT-TARP"
	elif imagecode == "psv":
		subdirectory = "SERVICE-PROVIDER-WITH-VIP"
	elif imagecode == "pk2sv":
		subdirectory = "SERVICE-PROVIDER-WITH-VIP-3DES"
	elif imagecode == "signatures":
		subdirectory = "SIGNATURES"
	elif imagecode == "silent-installer":
		subdirectory = "SILENT-INSTALLER"
	elif imagecode == "sip":
		subdirectory = "SIP"
	elif imagecode == "k1o3sv4y556i":
		subdirectory = "SMALL-OFFICE+-VOICE-FW-IDS-IPSEC-56-(SGCP-and-H.323)"
	elif imagecode == "k1k2o3sv4y5":
		subdirectory = "SMALL-OFFICE+-VOICE-FW-IPSEC-3DES-(SGCP-and-H.323)"
	elif imagecode == "k1o3v4y5":
		subdirectory = "SMALL-OFFICE-VOICE-FW-IDS-(SGCP-and-H.323)"
	elif imagecode == "smu":
		subdirectory = "SMU"
	elif imagecode == "sourcefiredev":
		subdirectory = "SOURCEFIRE-8350"
	elif imagecode == "sprom":
		subdirectory = "SPROM-EPLD"
	elif imagecode == "ipss7":
		subdirectory = "SS7-SIGNALING-LINK"
	elif imagecode == "h2":
		subdirectory = "STANDARD"
	elif imagecode == "c3h2":
		subdirectory = "STANDARD-COMMAND-CAPABLE"
	elif imagecode == "struts":
		subdirectory = "STRUTS-FIX"
	elif imagecode == "sup":
		subdirectory = "SUP-1"
	elif imagecode == "sup8m":
		subdirectory = "SUP-1-8M"
	elif imagecode == "supk8":
		subdirectory = "SUP-1"
	elif imagecode == "s1":
		subdirectory = "SUP-1"
	elif imagecode == "s1ek9":
		subdirectory = "SUP-1/BASE"
	elif imagecode == "supcv":
		subdirectory = "SUP-1/CISCOVIEW"
	elif imagecode == "supcvk8":
		subdirectory = "SUP-1/CISCOVIEW"
	elif imagecode == "supcvk9":
		subdirectory = "SUP-1/CISCOVIEW-AND-SSH"
	elif imagecode == "supk9":
		subdirectory = "SUP-1/SSH"
	elif imagecode == "sup2":
		subdirectory = "SUP-2"
	elif imagecode == "sup2k8":
		subdirectory = "SUP-2"
	elif imagecode == "s2":
		subdirectory = "SUP-2"
	elif imagecode == "s2ek9":
		subdirectory = "SUP-2"
	elif imagecode == "sup2cv":
		subdirectory = "SUP-2/CISCOVIEW"
	elif imagecode == "sup2cvk8":
		subdirectory = "SUP-2/CISCOVIEW"
	elif imagecode == "sup2cvk9":
		subdirectory = "SUP-2/CISCOVIEW-AND-SSH"
	elif imagecode == "sup2k9":
		subdirectory = "SUP-2/SSH"
	elif imagecode == "s3":
		subdirectory = "SUP-3"
	elif imagecode == "sup3":
		subdirectory = "SUP-3"
	elif imagecode == "sup3k9":
		subdirectory = "SUP-3/SSH"
	elif imagecode == "supg":
		subdirectory = "SUP-3/BASE"
	elif imagecode == "supgk9":
		subdirectory = "SUP-3/SSH"
	elif imagecode == "sup3cvk9":
		subdirectory = "SUP-3/CISCOVIEW-AND-SSH"
	elif imagecode == "sup3cv":
		subdirectory = "SUP-3/CISCOVIEW"
	elif imagecode == "s3ek9":
		subdirectory = "SUP-3"
	elif imagecode == "sup32pfc3k8":
		subdirectory = "SUP-32/BASE"
	elif imagecode == "sup32pfc3cvk8":
		subdirectory = "SUP-32/CISCOVIEW"
	elif imagecode == "sup32pfc3cvk9":
		subdirectory = "SUP-32/CISCOVIEW-AND-SSH"
	elif imagecode == "sup32pfc3k9":
		subdirectory = "SUP-32/SSH"
	elif imagecode == "s4ek9":
		subdirectory = "SUP-4"
	elif imagecode == "s5ek9":
		subdirectory = "SUP-5"
	elif imagecode == "sup720k8":
		subdirectory = "SUP-720/BASE"
	elif imagecode == "sup720cvk8":
		subdirectory = "SUP-720/CISCOVIEW"
	elif imagecode == "sup720cvk9":
		subdirectory = "SUP-720/CISCOVIEW-AND-SSH"
	elif imagecode == "sup720k9":
		subdirectory = "SUP-720/SSH"
	elif imagecode == "supplicantpw":
		subdirectory = "SUPPLICANT-PROVISIONING-WIZARD"
	elif imagecode == "cat9k_iosxe":
		subdirectory = "SYSTEM"
	elif imagecode == "iosxe":
		subdirectory = "UNIVERSAL"
	elif imagecode == "universalk9_kvm":
		subdirectory = "UNIVERSAL-KVM"
	elif imagecode == "universal_google_nfvis":
		subdirectory = "UNIVERSAL-GOOGLE-NFVIS"
	elif imagecode == "universal_google_esxi":
		subdirectory = "UNIVERSAL-GOOGLE-ESXI"
	elif imagecode == "universal_google_kvm":
		subdirectory = "UNIVERSAL-GOOGLE-KVM"
	elif imagecode == "universalk9_cloud":
		subdirectory = "UNIVERSAL-CLOUD"
	elif imagecode == "universal_kvm":
		subdirectory = "UNIVERSAL-KVM"
	elif imagecode == "cat9k_lite_iosxe":
		subdirectory = "UNIVERSAL-LITE"
	elif imagecode == "system":
		subdirectory = "SYSTEM"
	elif imagecode == "cat9k_iosxeldpe":
		subdirectory = "UNIVERSAL-NO-DTLS"
	elif imagecode == "cat9k_iosxe_npe":
		subdirectory = "UNIVERSAL-NPE"
	elif imagecode == "cat9k_lite_iosxe_npe":
		subdirectory = "UNIVERSAL-LITE-NPE"
	elif imagecode == "system-npe":
		subdirectory = "SYSTEM-NPE"
	elif imagecode == "telco":
		subdirectory = "TELCO-FEATURE-SET"
	elif imagecode == "telcoent":
		subdirectory = "TELCO-PLUS-FEATURE-SET"
	elif imagecode == "telcoentk9":
		subdirectory = "TELCO-PLUS-FEATURE-SET-IPSEC-3DES"
	elif imagecode == "k1k2sv4y5":
		subdirectory = "TELECOMMUTER+-VOICE-IPSEC-3DES-(SGCP-and-H.323)"
	elif imagecode == "k1sv4y556i":
		subdirectory = "TELECOMMUTER-VOICE-IPSEC-56-(SGCP-and-H.323)"
	elif imagecode == "templates":
		subdirectory = "TEMPLATES"
	elif imagecode == "thirdparty":
		subdirectory = "THIRD-PARTY-UTILS"
	elif imagecode == "transforms":
		subdirectory = "TRANSFORMS"
	elif imagecode == "translations":
		subdirectory = "TRANSLATIONS"
	elif imagecode == "turboboot":
		subdirectory = "TURBO-BOOT"
	elif imagecode == "universalk9milplr":
		subdirectory = "UNIVERSAL-MILITARY"
	elif imagecode == "universalk9":
		subdirectory = "UNIVERSAL"
	elif imagecode == "universalk9_ias":
		subdirectory = "UNIVERSAL"
	elif imagecode == "universalk9azn":
		subdirectory = "UNIVERSAL-AZURE-CLOUD"
	elif imagecode == "universal":
		subdirectory = "UNIVERSAL-NO-CRYPTO"
	elif imagecode == "universalk9_en":
		subdirectory = "UNIVERSAL-ENGLISH"
	elif imagecode == "universalk9_iox":
		subdirectory = "UNIVERSAL-IOX"
	elif imagecode == "universalk9_iox_npe":
		subdirectory = "UNIVERSAL-IOX-NPE"
	elif imagecode == "universalk9_lite":
		subdirectory = "UNIVERSAL-LITE"
	elif imagecode == "universal_lite":
		subdirectory = "UNIVERSAL-LITE-NO-CRYPTO"
	elif imagecode == "universalk9npe_lite":
		subdirectory = "UNIVERSAL-LITE-NPE"
	elif imagecode == "universalk9_noli":
		subdirectory = "UNIVERSAL-NO-LAWFUL-INTERCEPT"
	elif imagecode == "universalk9_ias_npe":
		subdirectory = "UNIVERSAL-NPE"
	elif imagecode == "universalk9_npe":
		subdirectory = "UNIVERSAL-NPE"
	elif imagecode == "universalk9ldpe":
		subdirectory = "UNIVERSAL-NPE"
	elif imagecode == "universalk9npe":
		subdirectory = "UNIVERSAL-NPE"
	elif imagecode == "universalk9_npe_noli":
		subdirectory = "UNIVERSAL-NPE-NO-LAWFUL-INTERCEPT"
	elif imagecode == "universalk9_wlc":
		subdirectory = "UNIVERSAL-WIRELESS"
	elif imagecode == "upgrade":
		subdirectory = "UPGRADE"
	elif imagecode == "urtbundle":
		subdirectory = "UPGRADE-READINESS-TOOL"
	elif imagecode == "k91p11":
		subdirectory = "UP-TO-8K-SUBSCRIBERS-WITH-3DES"
	elif imagecode == "p11u2":
		subdirectory = "UP-TO-8K-SUBSCRIBERS-WITH-LAWFUL-INTERCEPT"
	elif imagecode == "k91p11u2":
		subdirectory = "UP-TO-8K-SUBSCRIBERS-WITH-LAWFUL-INTERCEPT-3DES"
	elif imagecode == "usb_boot":
		subdirectory = "USB-BOOT"
	elif imagecode == "vchtmlplug":
		subdirectory = "VCENTER-HTML-PLUGIN"
	elif imagecode == "vcw-vfc-mz":
		subdirectory = "VCWare"
	elif imagecode == "va":
		subdirectory = "VIRTUAL-APPLIANCE"
	elif imagecode == "vmware":
		subdirectory = "VMWARE"
	elif imagecode == "k8o3v9y5":
		subdirectory = "VOICE-H323-MGCP-SIP-FW-IPSEC56"
	elif imagecode == "js2":
		subdirectory = "VOICE-IP-TO-IP-VOICE-GATEWAY"
	elif imagecode == "jk9s2":
		subdirectory = "VOICE-IP-TO-IP-VOICE-GATEWAY-IPSEC-3DES"
	elif imagecode == "vpnapi":
		subdirectory = "VPNAPI"
	elif imagecode == "spw":
		subdirectory = "SUPPLICANT-PROVISIONING-WIZARD"
	elif imagecode == "webauth":
		subdirectory = "WEBAUTH-BUNDLE"
	elif imagecode == "webagent":
		subdirectory = "WEB-AGENT"
	elif imagecode == "sipspawmak9":
		subdirectory = "WEBEX-NODE"
	elif imagecode == "websecurity":
		subdirectory = "WEB-SECURITY"
	elif imagecode == "websecurity":
		subdirectory = "WEB-SECURITY-APPLIANCE"
	elif imagecode == "w1is":
		subdirectory = "WIMAX-ASNGW-1.0-CRYPTO"
	elif imagecode == "windows":
		subdirectory = "WINDOWS"
	elif imagecode == "k9w7":
		subdirectory = "WIRELESS-LAN-AUTONOMOUS"
	elif imagecode == "k9w8":
		subdirectory = "WIRELESS-LAN-LIGHTWEIGHT-FULL"
	elif imagecode == "rcvk9w8":
		subdirectory = "WIRELESS-LAN-LIGHTWEIGHT-RECOVERY"
	elif imagecode == "witness":
		subdirectory = "WITNESS-NODE"
	elif imagecode == "xsd":
		subdirectory = "XML-SCHEMA"
	elif imagecode == "oac":
		subdirectory = "OPEN-AGENT-CONTAINER"
	elif imagecode == "sns36xx":
		subdirectory = "SNS-36xx"
	elif imagecode == "sns35xx":
		subdirectory = "SNS-35xx"
	elif imagecode == "qed":
		subdirectory = "DEVICE-ENABLER"
	elif imagecode == "vxworks":
		subdirectory = "VXWorks"
	elif imagecode == "WKGBDG":
		subdirectory = "WORKGROUP-BRIDGE"
	elif imagecode == "WRLBDG":
		subdirectory = "WIRELESS-BRIDGE"
	elif imagecode == "imgwrt":
		subdirectory = "IMAGE-WRITING"
	elif imagecode == "occtoacl":
		subdirectory = "OCC-TO-ACL-CONVERTER"
	elif imagecode == "aptolwapp":
		subdirectory = "AP-TO-LWAPP-CONVERTER"
	elif imagecode == "nbar":
		subdirectory = "NBAR2"
	elif imagecode == "vxworkstoios":
		subdirectory = "VXWorks-to-IOS-CONVERSION-TOOL"
	elif imagecode == "rme":
		subdirectory = "RESOURCE-MANAGER-ESSENTIALS"
	elif imagecode == "scu":
		subdirectory = "SERVER-CONFIGURATION-UTILITY"
	elif imagecode == "ssi":
		subdirectory = "STORAGE-SERVICE-INTERFACE"
	elif imagecode == "fabman":
		subdirectory = "FABRIC-MANAGER"
	elif imagecode == "sv3y7":
		subdirectory = "IP-VOICE-PLUS-ADSL"
	elif imagecode == "sy756i":
		subdirectory = "IP-PLUS-IPSEC-56-ADSL"
	elif imagecode == "o3sy756i":
		subdirectory = "IP-FW-PLUS-IPSEC-56-ADSL"
	elif imagecode == "o3sv3y756i":
		subdirectory = "IP-VOICE-FW-IDS-PLUS-IPSEC-56-ADSL"
	elif imagecode == "k2sy7":
		subdirectory = "IP-PLUS-IPSEC-3DES-ADSL"
	elif imagecode == "k2sv3y7":
		subdirectory = "IP-VOICE-PLUS-IPSEC-3DES-ADSL"
	elif imagecode == "k2o3sy7":
		subdirectory = "IP-FW-PLUS-IPSEC-3DES-ADSL"
	elif imagecode == "k2o3sv3y7":
		subdirectory = "IP-FW-VOICE-PLUS-IPSEC-3DES-ADSL"
	elif imagecode == "bno3r2sy756i":
		subdirectory = "IP-IPX-AT-IBM-FW-PLUS-IPSEC-56-ADSL"
	elif imagecode == "bno3r2sv3y756i":
		subdirectory = "IP-IPX-AT-IBM-FW-VOICE-PLUS-IPSEC-56-ADSL"
	elif imagecode == "bk2no3r2sy7":
		subdirectory = "IP-IPX-AT-IBM-FW-PLUS-IPSEC-3DES-ADSL"
	elif imagecode == "bk2no3r2sv3y7":
		subdirectory = "IP-IPX-AT-IBM-FW-VOICE-PLUS-IPSEC-3DES-ADSL"
	elif imagecode == "sy40":
		subdirectory = "IP-PLUS-40"
	elif imagecode == "sy56":
		subdirectory = "IP-PLUS-56"
	elif imagecode == "sy56i":
		subdirectory = "IP-PLUS-IPSEC-56"
	elif imagecode == "sy56i":
		subdirectory = "IP-PLUS-IPSEC-56"
	elif imagecode == "k2sy":
		subdirectory = "IP-PLUS-IPSEC-3DES"
	elif imagecode == "oy":
		subdirectory = "IP-FW"
	elif imagecode == "nosy":
		subdirectory = "IP-IPX-FW-PLUS"
	elif imagecode == "osy56i":
		subdirectory = "IP-FW-PLUS-IPSEC-56"
	elif imagecode == "k2osy":
		subdirectory = "IP-FW-PLUS-IPSEC-3DES"
	elif imagecode == "ny":
		subdirectory = "IP-IPX"
	elif imagecode == "bnr2y":
		subdirectory = "IP-IPX-AT-IBM"
	elif imagecode == "bnr2sy":
		subdirectory = "IP-IPX-AT-IBM-PLUS"
	elif imagecode == "bnor2sy56i":
		subdirectory = "IP-IPX-AT-IBM-FW-PLUS-IPSEC-56"
	elif imagecode == "bk2nor2sy":
		subdirectory = "IP-IPX-AT-IBM-FW-PLUS-IPSEC-3DES"
	elif imagecode == "sv3y":
		subdirectory = "IP-VOICE-PLUS"
	elif imagecode == "sv3y40":
		subdirectory = "IP-VOICE-PLUS-IPSEC-40"
	elif imagecode == "sv3y56i":
		subdirectory = "IP-VOICE-PLUS-IPSEC-56"
	elif imagecode == "sv3y56":
		subdirectory = "IP-VOICE-PLUS-IPSEC-56"
	elif imagecode == "k2sv3y":
		subdirectory = "IP-VOICE-PLUS-IPSEC-3DES"
	elif imagecode == "osv3y":
		subdirectory = "IP-FW-VOICE-PLUS"
	elif imagecode == "osv3y56i":
		subdirectory = "IP-FW-VOICE-PLUS-IPSEC-56"
	elif imagecode == "k2osv3y":
		subdirectory = "IP-FW-VOICE-PLUS-IPSEC-3DES"
	elif imagecode == "nosv3y":
		subdirectory = "IP-IPX-FW-VOICE-PLUS"
	elif imagecode == "bnor2sv3y56i":
		subdirectory = "IP-IPX-AT-IBM-FW-VOICE-PLUS-IPSEC-56"
	elif imagecode == "bk2nor2sv3y":
		subdirectory = "IP-IPX-AT-IBM-FW-VOICE-PLUS-IPSEC-3DES"
	elif imagecode == "xy":
		subdirectory = "UNKNOWN-FEATURE-SET"
	elif imagecode == "cme":
		subdirectory = "CALL-MANAGER-EXPRESS"
	elif imagecode == "configconvert":
		subdirectory = "CONFIG-CONVERTER"
	elif imagecode == "specialbuild":
		subdirectory = "SPECIAL-BUILDS"
	elif imagecode == "specialbuildlisp":
		subdirectory = "SPECIAL-BUILDS-LISP"
	elif imagecode == "specialbuildfwupgrade":
		subdirectory = "SPECIAL-BUILDS-FIRMWARE-UPGRADE"
	elif imagecode == "export":
		subdirectory = "EXPORT-FILES"
	elif imagecode == "external-sso":
		subdirectory = "EXTERNAL-SSO"
	elif imagecode == "base":
		subdirectory = "BASE"
	elif imagecode == "basevga":
		subdirectory = "BASE-VGA"
	elif imagecode == "rr":
		subdirectory = "ROUTE-REFLECTOR"
	elif imagecode == "rrvga":
		subdirectory = "ROUTE-REFLECTOR-VGA"
	elif imagecode == "log4j":
		subdirectory = "LOG4SHELL-FIXES"
	elif imagecode == "ciscosoftwaremanager":
		subdirectory = "CISCO-SOFTWARE-MANAGER"
	elif imagecode == "flashrecovery":
		subdirectory = "FLASH-RECOVERY"
	elif imagecode == "nacagent":
		subdirectory = "NAC-AGENT"
	elif imagecode == "deploymentassistant":
		subdirectory = "DEPLOYMENT-ASSISTANT"
	elif imagecode == "expresswizard":
		subdirectory = "EXPRESS-WIZARD"
	elif imagecode == "certs":
		subdirectory = "CERTIFICATES"
	elif imagecode == "apbundle":
		subdirectory = "AP-BUNDLE"
	elif imagecode == "mgmtctr":
		subdirectory = "MANAGEMENT-CENTER"
	elif imagecode == "client":
		subdirectory = "CLIENT"
	else:
		subdirectory = "UNKNOWN"
	return subdirectory

def product (prodcode):
	if prodcode == "apicem":
		prodname = "NETWORK-MANAGEMENT/APIC-EM"
	elif prodcode == "cspc":
		prodname = "NETWORK-MANAGEMENT/COMMON-SERVICES-PLATFORM-COLLECTOR"
	elif prodcode == "ccp":
		prodname = "NETWORK-MANAGEMENT/CONFIGURATION-PROFESSIONAL"
	elif prodcode == "ccpc":
		prodname = "NETWORK-MANAGEMENT/CONFIGURATION-PROFESSIONAL-CATALYST"
	elif prodcode == "cpi":
		prodname = "NETWORK-MANAGEMENT/CISCO-PRIME-INFRASTRUCTURE"
	elif prodcode == "dnac":
		prodname = "NETWORK-MANAGEMENT/DNA-CENTER"
	elif prodcode == "ttam":
		prodname = "NETWORK-MANAGEMENT/DNA-CENTER-TRAFFIC"
	elif prodcode == "cna":
		prodname = "NETWORK-MANAGEMENT/NETWORK-ASSISTANT"
	elif prodcode == "ntwkmgmt":
		prodname = "NETWORK-MANAGEMENT"
	elif prodcode == "cworks":
		prodname = "NETWORK-MANAGEMENT/CiscoWorks"
	elif prodcode == "perfigocca":
		prodname = "NETWORK-MANAGEMENT/CISCO-CLEAN-ACCESS"
	elif prodcode == "routers":
		prodname = "ROUTERS"
	elif prodcode == "ir1835":
		prodname = "ROUTERS/IR1835"
	elif prodcode == "ir8140":
		prodname = "ROUTERS/IR8140"
	elif prodcode == "ir8340":
		prodname = "ROUTERS/IR8340"
	elif prodcode == "ons15530":
		prodname = "ROUTERS/OPTICAL/ONS-15530"
	elif prodcode == "ons15540":
		prodname = "ROUTERS/OPTICAL/ONS-15540"
	elif prodcode == "asr1000":
		prodname = "ROUTERS/ASR/ASR-1000"
	elif prodcode == "isrg3moduleslte":
		prodname = "ROUTERS/ISRG3/MODULES/LTE"
	elif prodcode == "iosxeissumatrix":
		prodname = "ROUTERS/IOS-XE-ISSU-MATRIX"
	elif prodcode == "iou":
		prodname = "ROUTERS/IOU"
	elif prodcode == "asr1000rp1":
		prodname = "ROUTERS/ASR/ASR-1000-RP1"
	elif prodcode == "asr1000rp2":
		prodname = "ROUTERS/ASR/ASR-1000-RP2"
	elif prodcode == "asr1000rpx86":
		prodname = "ROUTERS/ASR/ASR-1000-RP3"
	elif prodcode == "asr1000hx":
		prodname = "ROUTERS/ASR/ASR-1000HX"
	elif prodcode == "asr1001":
		prodname = "ROUTERS/ASR/ASR-1001"
	elif prodcode == "asr1001x":
		prodname = "ROUTERS/ASR/ASR-1001X"
	elif prodcode == "asr1002":
		prodname = "ROUTERS/ASR/ASR-1002"
	elif prodcode == "asr1002x":
		prodname = "ROUTERS/ASR/ASR-1002X"
	elif prodcode == "asr1002hx":
		prodname = "ROUTERS/ASR/ASR-1002HX"
	elif prodcode == "asr900":
		prodname = "ROUTERS/ASR/ASR-900"
	elif prodcode == "asr9k":
		prodname = "ROUTERS/ASR/ASR-9000"
	elif prodcode == "asr900rsp1":
		prodname = "ROUTERS/ASR/ASR-900-RSP1"
	elif prodcode == "asr900rsp2":
		prodname = "ROUTERS/ASR/ASR-900-RSP2"
	elif prodcode == "asr900rsp3":
		prodname = "ROUTERS/ASR/ASR-900-RSP3"
	elif prodcode == "asr901":
		prodname = "ROUTERS/ASR/ASR-901"
	elif prodcode == "asr901rsp1":
		prodname = "ROUTERS/ASR/ASR-901-RSP1"
	elif prodcode == "asr901rsp2":
		prodname = "ROUTERS/ASR/ASR-901-RSP2"
	elif prodcode == "asr901_sat":
		prodname = "ROUTERS/ASR/ASR-901-SAT"
	elif prodcode == "asr901sec":
		prodname = "ROUTERS/ASR/ASR-901-SEC"
	elif prodcode == "asr903":
		prodname = "ROUTERS/ASR/ASR-903"
	elif prodcode == "asr903rsp1":
		prodname = "ROUTERS/ASR/ASR-903-RSP1"
	elif prodcode == "asr903rsp2":
		prodname = "ROUTERS/ASR/ASR-903-RSP2"
	elif prodcode == "asr920":
		prodname = "ROUTERS/ASR/ASR-920"
	elif prodcode == "asr920igp":
		prodname = "ROUTERS/ASR/ASR-920IGP"
	elif prodcode == "urm":
		prodname = "ROUTERS/ATM/IGX-8400"
	elif prodcode == "rpm":
		prodname = "ROUTERS/ATM/MGX-8850"
	elif prodcode == "rpmxf":
		prodname = "ROUTERS/ATM/MGX-8850"
	elif prodcode == "c1004":
		prodname = "ROUTERS/BRANCH/1004"
	elif prodcode == "c1005":
		prodname = "ROUTERS/BRANCH/1005"
	elif prodcode == "cpa1005":
		prodname = "ROUTERS/BRANCH/1005"
	elif prodcode == "c1400":
		prodname = "ROUTERS/BRANCH/1400"
	elif prodcode == "c1600":
		prodname = "ROUTERS/BRANCH/1600"
	elif prodcode == "c1700":
		prodname = "ROUTERS/BRANCH/1700"
	elif prodcode == "c1710":
		prodname = "ROUTERS/BRANCH/1710"
	elif prodcode == "c2500":
		prodname = "ROUTERS/BRANCH/2500"
	elif prodcode == "igs":
		prodname = "ROUTERS/BRANCH/2500"
	elif prodcode == "c25fx":
		prodname = "ROUTERS/BRANCH/2500"
	elif prodcode == "c2511":
		prodname = "ROUTERS/BRANCH/2500"
	elif prodcode == "c2600":
		prodname = "ROUTERS/BRANCH/2600"
	elif prodcode == "c2611":
		prodname = "ROUTERS/BRANCH/2600"
	elif prodcode == "c2691":
		prodname = "ROUTERS/BRANCH/2691"
	elif prodcode == "c3620":
		prodname = "ROUTERS/BRANCH/3620"
	elif prodcode == "c3631":
		prodname = "ROUTERS/BRANCH/3631"
	elif prodcode == "c3640":
		prodname = "ROUTERS/BRANCH/3640"
	elif prodcode == "c3660":
		prodname = "ROUTERS/BRANCH/3660"
	elif prodcode == "c3660":
		prodname = "ROUTERS/BRANCH/3660"
	elif prodcode == "c3660":
		prodname = "ROUTERS/BRANCH/3660"
	elif prodcode == "c3660":
		prodname = "ROUTERS/BRANCH/3660"
	elif prodcode == "c3660":
		prodname = "ROUTERS/BRANCH/3660"
	elif prodcode == "c3725":
		prodname = "ROUTERS/BRANCH/3725"
	elif prodcode == "c3745":
		prodname = "ROUTERS/BRANCH/3745"
	elif prodcode == "c4000":
		prodname = "ROUTERS/BRANCH/4000"
	elif prodcode == "c4500":
		prodname = "ROUTERS/BRANCH/4700M"
	elif prodcode == "c800":
		prodname = "ROUTERS/BRANCH/800"
	elif prodcode == "c805":
		prodname = "ROUTERS/BRANCH/805"
	elif prodcode == "c806":
		prodname = "ROUTERS/BRANCH/806"
	elif prodcode == "c815":
		prodname = "ROUTERS/BRANCH/815"
	elif prodcode == "c820":
		prodname = "ROUTERS/BRANCH/820"
	elif prodcode == "c827v":
		prodname = "ROUTERS/BRANCH/827"
	elif prodcode == "c828":
		prodname = "ROUTERS/BRANCH/828"
	elif prodcode == "c831":
		prodname = "ROUTERS/BRANCH/831"
	elif prodcode == "c836":
		prodname = "ROUTERS/BRANCH/836"
	elif prodcode == "c837":
		prodname = "ROUTERS/BRANCH/837"
	elif prodcode == "mc3810":
		prodname = "ROUTERS/BRANCH/MC-3810"
	elif prodcode == "branchmodules":
		prodname = "ROUTERS/BRANCH/MODULES"
	elif prodcode == "ni2":
		prodname = "ROUTERS/BROADBAND/NI-2"
	elif prodcode == "rfgw":
		prodname = "ROUTERS/BROADBAND/RF-Gateway"
	elif prodcode == "sb101":
		prodname = "ROUTERS/BROADBAND/SB-101"
	elif prodcode == "sb107":
		prodname = "ROUTERS/BROADBAND/SB-107"
	elif prodcode == "ubr920":
		prodname = "ROUTERS/BROADBAND/UBR-920"
	elif prodcode == "ubr925":
		prodname = "ROUTERS/BROADBAND/UBR-925"
	elif prodcode == "ubr10k":
		prodname = "ROUTERS/BROADBAND/UBR-10000/PRE1"
	elif prodcode == "ubr10k2":
		prodname = "ROUTERS/BROADBAND/UBR-10000/PRE2"
	elif prodcode == "ubr10k3":
		prodname = "ROUTERS/BROADBAND/UBR-10000/PRE3"
	elif prodcode == "ubr10k4":
		prodname = "ROUTERS/BROADBAND/UBR-10000/PRE4"
	elif prodcode == "ubr10k5":
		prodname = "ROUTERS/BROADBAND/UBR-10000/PRE5"
	elif prodcode == "ubr7100":
		prodname = "ROUTERS/BROADBAND/UBR-7100"
	elif prodcode == "ubr7200":
		prodname = "ROUTERS/BROADBAND/UBR-7200/NPEG1"
	elif prodcode == "ubr7200p":
		prodname = "ROUTERS/BROADBAND/UBR-7200/NPEG2"
	elif prodcode == "cva120":
		prodname = "ROUTERS/CABLE/CVA-120"
	elif prodcode == "cva120cvc":
		prodname = "ROUTERS/CABLE/CVA-120"
	elif prodcode == "esr6300":
		prodname = "ROUTERS/EMBEDDED/ESR-6300"
	elif prodcode == "c5915":
		prodname = "ROUTERS/EMBEDDED/5915"
	elif prodcode == "c5921i86":
		prodname = "ROUTERS/EMBEDDED/5921"
	elif prodcode == "c5921i86v":
		prodname = "ROUTERS/EMBEDDED/5921"
	elif prodcode == "c5940":
		prodname = "ROUTERS/EMBEDDED/5940"
	elif prodcode == "c5930":
		prodname = "ROUTERS/EMBEDDED/5930"
	elif prodcode == "ie9k":
		prodname = "ROUTERS/EMBEDDED/CATALYST-9300-EMBEDDED"
	elif prodcode == "cgr2010":
		prodname = "ROUTERS/GRID/CGR-2010"
	elif prodcode == "soho70":
		prodname = "ROUTERS/HOME-SMALL-BUSINESS/SOHO-70"
	elif prodcode == "soho71":
		prodname = "ROUTERS/HOME-SMALL-BUSINESS/SOHO-71"
	elif prodcode == "soho78":
		prodname = "ROUTERS/HOME-SMALL-BUSINESS/SOHO-78"
	elif prodcode == "soho91":
		prodname = "ROUTERS/HOME-SMALL-BUSINESS/SOHO-91"
	elif prodcode == "soho97":
		prodname = "ROUTERS/HOME-SMALL-BUSINESS/SOHO-97"
	elif prodcode == "igs":
		prodname = "ROUTERS/IGS"
	elif prodcode == "iosxe-sd-avc":
		prodname = "ROUTERS/IOSXE-AVC"
	elif prodcode == "iosxe-remote-mgmt":
		prodname = "ROUTERS/IOSXE-REMOTE-MGMT"
	elif prodcode == "c180x":
		prodname = "ROUTERS/ISRG1/1800"
	elif prodcode == "c1805":
		prodname = "ROUTERS/ISRG1/1805"
	elif prodcode == "c181x":
		prodname = "ROUTERS/ISRG1/1810"
	elif prodcode == "c1841":
		prodname = "ROUTERS/ISRG1/1841"
	elif prodcode == "c1841c":
		prodname = "ROUTERS/ISRG1/1841-CHINA"
	elif prodcode == "c1841ve":
		prodname = "ROUTERS/ISRG1/1841-VE"
	elif prodcode == "c1861":
		prodname = "ROUTERS/ISRG1/1861"
	elif prodcode == "c2800nm":
		prodname = "ROUTERS/ISRG1/2800nm"
	elif prodcode == "c2800nmc":
		prodname = "ROUTERS/ISRG1/2800nm-CHINA"
	elif prodcode == "c2800nmve":
		prodname = "ROUTERS/ISRG1/2800nmve"
	elif prodcode == "c2801":
		prodname = "ROUTERS/ISRG1/2801"
	elif prodcode == "c2801c":
		prodname = "ROUTERS/ISRG1/2801-CHINA"
	elif prodcode == "c3825":
		prodname = "ROUTERS/ISRG1/3825"
	elif prodcode == "c3825c":
		prodname = "ROUTERS/ISRG1/3825-CHINA"
	elif prodcode == "c3825nv":
		prodname = "ROUTERS/ISRG1/3825-NO-VPN"
	elif prodcode == "c3845":
		prodname = "ROUTERS/ISRG1/3845"
	elif prodcode == "c3845c":
		prodname = "ROUTERS/ISRG1/3845-CHINA"
	elif prodcode == "c3845nv":
		prodname = "ROUTERS/ISRG1/3845-NO-VPN"
	elif prodcode == "c850":
		prodname = "ROUTERS/ISRG1/850"
	elif prodcode == "c860":
		prodname = "ROUTERS/ISRG1/860"
	elif prodcode == "c870":
		prodname = "ROUTERS/ISRG1/870"
	elif prodcode == "c871":
		prodname = "ROUTERS/ISRG1/871"
	elif prodcode == "c890":
		prodname = "ROUTERS/ISRG1/890"
	elif prodcode == "ISRG1GENERIC":
		prodname = "ROUTERS/ISRG1/MODULES"
	elif prodcode == "c1900":
		prodname = "ROUTERS/ISRG2/1900"
	elif prodcode == "c1900-2900":
		prodname = "ROUTERS/ISRG2/1900-2900"
	elif prodcode == "c1900c":
		prodname = "ROUTERS/ISRG2/1900-CHINA"
	elif prodcode == "c2900":
		prodname = "ROUTERS/ISRG2/2900"
	elif prodcode == "c2911a":
		prodname = "ROUTERS/ISRG2/2911a"
	elif prodcode == "c2951":
		prodname = "ROUTERS/ISRG2/2951"
	elif prodcode == "c3900":
		prodname = "ROUTERS/ISRG2/3900"
	elif prodcode == "c3900e":
		prodname = "ROUTERS/ISRG2/3900E"
	elif prodcode == "c800m":
		prodname = "ROUTERS/ISRG2/800m"
	elif prodcode == "c800j":
		prodname = "ROUTERS/ISRG2/800J"
	elif prodcode == "c860vae":
		prodname = "ROUTERS/ISRG2/860-VAE"
	elif prodcode == "c860vae2":
		prodname = "ROUTERS/ISRG2/860-VAE2"
	elif prodcode == "c860vaej":
		prodname = "ROUTERS/ISRG2/860-VAEJ"
	elif prodcode == "c860vaew":
		prodname = "ROUTERS/ISRG2/860-VAEW"
	elif prodcode == "c880data":
		prodname = "ROUTERS/ISRG2/880"
	elif prodcode == "c880voice":
		prodname = "ROUTERS/ISRG2/880-CUBE"
	elif prodcode == "c890s":
		prodname = "ROUTERS/ISRG2/890"
	elif prodcode == "c900":
		prodname = "ROUTERS/ISRG2/900"
	elif prodcode == "ISRG2GENERIC":
		prodname = "ROUTERS/ISRG2/MODULES"
	elif prodcode == "c800g2":
		prodname = "ROUTERS/ISRG2/800"
	elif prodcode == "c800g3":
		prodname = "ROUTERS/ISRG3/800"
	elif prodcode == "ir1101":
		prodname = "ROUTERS/ISRG3/IR-1101"
	elif prodcode == "ir800":
		prodname = "ROUTERS/ISRG3/IR-800"
	elif prodcode == "c1000router":
		prodname = "ROUTERS/BRANCH/1000"
	elif prodcode == "c1100router":
		prodname = "ROUTERS/ISRG3/ISR-1100"
	elif prodcode == "isr4200":
		prodname = "ROUTERS/ISRG3/ISR-4200"
	elif prodcode == "isr4200-4300":
		prodname = "ROUTERS/ISRG3/ISR-4200-4300"
	elif prodcode == "isr4300":
		prodname = "ROUTERS/ISRG3/ISR-4300"
	elif prodcode == "isr4400":
		prodname = "ROUTERS/ISRG3/ISR-4400"
	elif prodcode == "isr4400v2":
		prodname = "ROUTERS/ISRG3/ISR-4461"
	elif prodcode == "mwr1900":
		prodname = "ROUTERS/MOBILE/MWR-1900"
	elif prodcode == "mwr1941":
		prodname = "ROUTERS/MOBILE/MWR-1941"
	elif prodcode == "mwr2941":
		prodname = "ROUTERS/MOBILE/MWR-2941"
	elif prodcode == "c3201":
		prodname = "ROUTERS/RUGGED/3201-AP"
	elif prodcode == "c3202":
		prodname = "ROUTERS/RUGGED/3202-AP"
	elif prodcode == "c3205":
		prodname = "ROUTERS/RUGGED/3205-AP"
	elif prodcode == "c3220":
		prodname = "ROUTERS/RUGGED/3220"
	elif prodcode == "c3230":
		prodname = "ROUTERS/RUGGED/3230"
	elif prodcode == "c3250":
		prodname = "ROUTERS/RUGGED/3250"
	elif prodcode == "c3270":
		prodname = "ROUTERS/RUGGED/3270"
	elif prodcode == "ncs4201":
		prodname = "ROUTERS/SP/NCS4201"
	elif prodcode == "ncs4202":
		prodname = "ROUTERS/SP/NCS4202"
	elif prodcode == "c10k":
		prodname = "ROUTERS/SP/10000/PRE1"
	elif prodcode == "c10k2":
		prodname = "ROUTERS/SP/10000/PRE2"
	elif prodcode == "c10k3":
		prodname = "ROUTERS/SP/10000/PRE3"
	elif prodcode == "c10k4":
		prodname = "ROUTERS/SP/10000/PRE4"
	elif prodcode == "c10700":
		prodname = "ROUTERS/SP/10700"
	elif prodcode == "c12k":
		prodname = "ROUTERS/SP/12000"
	elif prodcode == "c12kprp":
		prodname = "ROUTERS/SP/12000"
	elif prodcode == "gsr":
		prodname = "ROUTERS/SP/12000"
	elif prodcode == "XR12000":
		prodname = "ROUTERS/SP/12000-XR"
	elif prodcode == "c7000":
		prodname = "ROUTERS/SP/7000"
	elif prodcode == "c7100":
		prodname = "ROUTERS/SP/7100"
	elif prodcode == "c7200":
		prodname = "ROUTERS/SP/7200/NPEG1"
	elif prodcode == "c7200p":
		prodname = "ROUTERS/SP/7200/NPEG2"
	elif prodcode == "c7300":
		prodname = "ROUTERS/SP/7300"
	elif prodcode == "c7301":
		prodname = "ROUTERS/SP/7301"
	elif prodcode == "c7304":
		prodname = "ROUTERS/SP/7304"
	elif prodcode == "spa":
		prodname = "ROUTERS/SP/7304"
	elif prodcode == "c7400":
		prodname = "ROUTERS/SP/7400"
	elif prodcode == "rsp":
		prodname = "ROUTERS/SP/7500"
	elif prodcode == "c7600":
		prodname = "ROUTERS/SP/7600"
	elif prodcode == "c7600rsp72043":
		prodname = "ROUTERS/SP/7600/RSP720"
	elif prodcode == "rsp72043":
		prodname = "ROUTERS/SP/7600/RSP720"
	elif prodcode == "c7svcsami":
		prodname = "ROUTERS/SP/7600/SAMI"
	elif prodcode == "c7600s3223":
		prodname = "ROUTERS/SP/7600/SUP-32"
	elif prodcode == "c7600s72033":
		prodname = "ROUTERS/SP/7600/SUP-720"
	elif prodcode == "8000":
		prodname = "ROUTERS/SP/8000"
	elif prodcode == "csr1000v":
		prodname = "ROUTERS/VIRTUAL/CSR-1000V"
	elif prodcode == "csr1000v_milplr":
		prodname = "ROUTERS/VIRTUAL/CSR-1000V"
	elif prodcode == "vios":
		prodname = "ROUTERS/VIRTUAL/IOS-V"
	elif prodcode == "iosxrvdemo":
		prodname = "ROUTERS/VIRTUAL/IOS-XRv"
	elif prodcode == "iosxrvfull":
		prodname = "ROUTERS/VIRTUAL/IOS-XRv9000"
	elif prodcode == "csa":
		prodname = "SECURITY/CISCO-SECURITY-AGENT"
	elif prodcode == "csm":
		prodname = "SECURITY/CISCO-SECURITY-MANAGER"
	elif prodcode == "asa":
		prodname = "SECURITY/FIREWALL/ASA"
	elif prodcode == "asacx":
		prodname = "SECURITY/FIREWALL/ASA-CX-MODULE"
	elif prodcode == "c6svc-fwm":
		prodname = "SECURITY/FIREWALL/CATALYST-6500-FWSM"
	elif prodcode == "firepower":
		prodname = "SECURITY/FIREWALL/FirePOWER"
	elif prodcode == "firepowerfmc":
		prodname = "SECURITY/FIREWALL/FirePOWER/FIREPOWER-MANAGEMENT-CENTER"
	elif prodcode == "pix":
		prodname = "SECURITY/FIREWALL/PIX"
	elif prodcode == "acs":
		prodname = "SECURITY/IDENTITY/ACS"
	elif prodcode == "ise":
		prodname = "SECURITY/IDENTITY/IDENTITY-SERVICES-ENGINE"
	elif prodcode == "isepic":
		prodname = "SECURITY/IDENTITY/IDENTITY-SERVICES-ENGINE-PIC"
	elif prodcode == "ciscoutd":
		prodname = "SECURITY/IOS-XE-UTD"
	elif prodcode == "ipsids":
		prodname = "SECURITY/IDS-IPS"
	elif prodcode == "ipsidsnm":
		prodname = "ROUTER-NM"
	elif prodcode == "ipsidsasa5585xssp10":
		prodname = "ASA5585-X-SSP_10"
	elif prodcode == "ipsidsasa5585xssp20":
		prodname = "ASA5585-X-SSP_20"
	elif prodcode == "ipsidsasa5585xssp40":
		prodname = "ASA5585-X-SSP_40"
	elif prodcode == "ipsidsasa5585xssp60":
		prodname = "ASA5585-X-SSP_60"
	elif prodcode == "ipsidsasa5512xssp":
		prodname = "ASA5512-X"
	elif prodcode == "ipsidsasa5515xssp":
		prodname = "ASA5515-X"
	elif prodcode == "ipsidsasa5525xssp":
		prodname = "ASA5525-X"
	elif prodcode == "ipsidsasa5545xssp":
		prodname = "ASA5545-X"
	elif prodcode == "ipsidsasa5555xssp":
		prodname = "ASA5555-X"
	elif prodcode == "ipsidsasassc":
		prodname = "ASA-AIPSSC"
	elif prodcode == "ipsidsasassm10":
		prodname = "ASA-AIPSSM-10"
	elif prodcode == "ipsidsasassm20":
		prodname = "ASA-AIPSSM-20"
	elif prodcode == "ipsidsasassm40":
		prodname = "ASA-AIPSSM-40"
	elif prodcode == "ipsidsipsadsm2":
		prodname = "IPS-Catalyst-6500-IDSM2"
	elif prodcode == "ipsidsipsaim":
		prodname = "IPS-AIM"
	elif prodcode == "ipsidsips4215":
		prodname = "IPS-4215"
	elif prodcode == "ipsidsips4240":
		prodname = "IPS-4240"
	elif prodcode == "ipsidsips4255":
		prodname = "IPS-4255"
	elif prodcode == "ipsidsips4260":
		prodname = "IPS-4260"
	elif prodcode == "ipsidsips4270":
		prodname = "IPS-4270"
	elif prodcode == "ipsidsips4345":
		prodname = "IPS-4345"
	elif prodcode == "ipsidsips4360":
		prodname = "IPS-4360"
	elif prodcode == "ipsidsips4510":
		prodname = "IPS-4510"
	elif prodcode == "ipsidsips4520":
		prodname = "IPS-4520"
	elif prodcode == "iosids":
		prodname = "SECURITY/IOS-IDS"
	elif prodcode == "ironport":
		prodname = "SECURITY/IRONPORT"
	elif prodcode == "mars":
		prodname = "SECURITY/MARS"
	elif prodcode == "vpn3000":
		prodname = "SECURITY/VPN-3000"
	elif prodcode == "anyconnect":
		prodname = "SECURITY/VPN-CLIENTS/ANYCONNECT (CISCO SECURE CLIENT)"
	elif prodcode == "vpnclient":
		prodname = "SECURITY/VPN-CLIENTS/IPSEC-CLIENT"
	elif prodcode == "aci":
		prodname = "SERVERS/APIC"
	elif prodcode == "css":
		prodname = "SERVERS/CSS"
	elif prodcode == "dcnm":
		prodname = "SERVERS/DATA-CENTER-NETWORK-MANAGER"
	elif prodcode == "dnac":
		prodname = "SERVERS/DNAC"
	elif prodcode == "hyperflex":
		prodname = "SERVERS/HYPERFLEX"
	elif prodcode == "onepk":
		prodname = "SERVERS/ONE-PK"
	elif prodcode == "ucsgeneric":
		prodname = "SERVERS/UCS"
	elif prodcode == "smallbusiness":
		prodname = "Small-Business"
	elif prodcode == "c125":
		prodname = "SERVERS/UCS/C-SERIES/C125M5"
	elif prodcode == "c200":
		prodname = "SERVERS/UCS/C-SERIES/C200M1-C200M2-C210M1-C210M2"
	elif prodcode == "c220":
		prodname = "SERVERS/UCS/C-SERIES/C220M3"
	elif prodcode == "c220m4":
		prodname = "SERVERS/UCS/C-SERIES/C220M4"
	elif prodcode == "c220m5":
		prodname = "SERVERS/UCS/C-SERIES/C220M5"
	elif prodcode == "c220m6":
		prodname = "SERVERS/UCS/C-SERIES/C220M6"
	elif prodcode == "c2x":
		prodname = "SERVERS/UCS/C-SERIES/C22M3-C22M4"
	elif prodcode == "c240":
		prodname = "SERVERS/UCS/C-SERIES/C240M3"
	elif prodcode == "c240m4":
		prodname = "SERVERS/UCS/C-SERIES/C240M4"
	elif prodcode == "c240m5":
		prodname = "SERVERS/UCS/C-SERIES/C240M5"
	elif prodcode == "c240m6":
		prodname = "SERVERS/UCS/C-SERIES/C240M6"
	elif prodcode == "c250":
		prodname = "SERVERS/UCS/C-SERIES/C250M1-C250M2"
	elif prodcode == "c260":
		prodname = "SERVERS/UCS/C-SERIES/C260M2"
	elif prodcode == "c2xxm3":
		prodname = "SERVERS/UCS/C-SERIES/C2XXM3"
	elif prodcode == "c2xxm4":
		prodname = "SERVERS/UCS/C-SERIES/C2XXM4"
	elif prodcode == "c2xxm5":
		prodname = "SERVERS/UCS/C-SERIES/C2XXM5"
	elif prodcode == "c3160":
		prodname = "SERVERS/UCS/C-SERIES/C3160"
	elif prodcode == "c3260":
		prodname = "SERVERS/UCS/C-SERIES/C3260"
	elif prodcode == "c420":
		prodname = "SERVERS/UCS/C-SERIES/C420M3"
	elif prodcode == "c460":
		prodname = "SERVERS/UCS/C-SERIES/C460M1-C460M2"
	elif prodcode == "c460m4":
		prodname = "SERVERS/UCS/C-SERIES/C460M4"
	elif prodcode == "c480m5":
		prodname = "SERVERS/UCS/C-SERIES/C480M5"
	elif prodcode == "ucsbseries":
		prodname = "SERVERS/UCS/B-SERIES/"
	elif prodcode == "ucscseries":
		prodname = "SERVERS/UCS/C-SERIES/"
	elif prodcode == "ucseseries":
		prodname = "SERVERS/UCS/E-SERIES/"
	elif prodcode == "e100":
		prodname = "SERVERS/UCS/E-SERIES/E1XX"
	elif prodcode == "c6400r":
		prodname = "SERVICE-GATEWAY/6400-NSP"
	elif prodcode == "c6400r2sp":
		prodname = "SERVICE-GATEWAY/6400-NSP"
	elif prodcode == "c6400s":
		prodname = "SERVICE-GATEWAY/6400-NSP"
	elif prodcode == "ni2":
		prodname = "SERVICE-GATEWAY/6XXX-DSL-Switch"
	elif prodcode == "m9100":
		prodname = "STORAGE/MDS-9100"
	elif prodcode == "m9200":
		prodname = "STORAGE/MDS-9200"
	elif prodcode == "m9250":
		prodname = "STORAGE/MDS-9250"
	elif prodcode == "m9500":
		prodname = "STORAGE/MDS-9500"
	elif prodcode == "m9700":
		prodname = "STORAGE/MDS-9700"
	elif prodcode == "ls1010":
		prodname = "SWITCHES/ATM/Lightspeed-1010"
	elif prodcode == "cbs30x0":
		prodname = "SWITCHES/BLADE-SWITCHES/CATALYST-3000-DELL-Blade"
	elif prodcode == "cbs31x0":
		prodname = "SWITCHES/BLADE-SWITCHES/CATALYST-3100-DELL-Blade"
	elif prodcode == "cigesm":
		prodname = "SWITCHES/BLADE-SWITCHES/IBM-Blade-Switch"
	elif prodcode == "cgesm":
		prodname = "SWITCHES/BLADE-SWITCHES/IBM-Blade-Switch"
	elif prodcode == "cat1200":
		prodname = "SWITCHES/CATALYST/Catalyst-1200"
	elif prodcode == "cat1600":
		prodname = "SWITCHES/CATALYST/Catalyst-1600"
	elif prodcode == "cat1900":
		prodname = "SWITCHES/CATALYST/Catalyst-1900"
	elif prodcode == "c2350":
		prodname = "SWITCHES/CATALYST/Catalyst-2350"
	elif prodcode == "c2360":
		prodname = "SWITCHES/CATALYST/Catalyst-2360"
	elif prodcode == "cat2800":
		prodname = "SWITCHES/CATALYST/Catalyst-2800"
	elif prodcode == "c2800":
		prodname = "SWITCHES/CATALYST/Catalyst-2800"
	elif prodcode == "c29atm":
		prodname = "SWITCHES/CATALYST/Catalyst-2900-ATM"
	elif prodcode == "c2900XL":
		prodname = "SWITCHES/CATALYST/Catalyst-2900XL"
	elif prodcode == "c2900xl":
		prodname = "SWITCHES/CATALYST/Catalyst-2900XL"
	elif prodcode == "c2918":
		prodname = "SWITCHES/CATALYST/Catalyst-2918"
	elif prodcode == "c2928":
		prodname = "SWITCHES/CATALYST/Catalyst-2928"
	elif prodcode == "c2940":
		prodname = "SWITCHES/CATALYST/Catalyst-2940"
	elif prodcode == "cat2948g":
		prodname = "SWITCHES/CATALYST/Catalyst-2948G"
	elif prodcode == "c2950":
		prodname = "SWITCHES/CATALYST/Catalyst-2950"
	elif prodcode == "c2950lre":
		prodname = "SWITCHES/CATALYST/Catalyst-2950-LRE"
	elif prodcode == "c2955":
		prodname = "SWITCHES/CATALYST/Catalyst-2955"
	elif prodcode == "c2960":
		prodname = "SWITCHES/CATALYST/Catalyst-2960"
	elif prodcode == "c2960l":
		prodname = "SWITCHES/CATALYST/Catalyst-2960L"
	elif prodcode == "c2960s":
		prodname = "SWITCHES/CATALYST/Catalyst-2960S"
	elif prodcode == "c2960x":
		prodname = "SWITCHES/CATALYST/Catalyst-2960X"
	elif prodcode == "c2970":
		prodname = "SWITCHES/CATALYST/Catalyst-2970"
	elif prodcode == "c2975":
		prodname = "SWITCHES/CATALYST/Catalyst-2975"
	elif prodcode == "cat3000":
		prodname = "SWITCHES/CATALYST/Catalyst-3000"
	elif prodcode == "c3500xl":
		prodname = "SWITCHES/CATALYST/Catalyst-3500XL"
	elif prodcode == "c3500XL":
		prodname = "SWITCHES/CATALYST/Catalyst-3500XL"
	elif prodcode == "c3550":
		prodname = "SWITCHES/CATALYST/Catalyst-3550"
	elif prodcode == "c3560":
		prodname = "SWITCHES/CATALYST/Catalyst-3560"
	elif prodcode == "c3560e":
		prodname = "SWITCHES/CATALYST/Catalyst-3560E"
	elif prodcode == "c3560x":
		prodname = "SWITCHES/CATALYST/Catalyst-3560X"
	elif prodcode == "c3750":
		prodname = "SWITCHES/CATALYST/Catalyst-3750"
	elif prodcode == "c3750e":
		prodname = "SWITCHES/CATALYST/Catalyst-3750E"
	elif prodcode == "c3750me":
		prodname = "SWITCHES/METRO/Catalyst-3750ME"
	elif prodcode == "c3750x":
		prodname = "SWITCHES/CATALYST/Catalyst-3750X"
	elif prodcode == "cat3k_caa":
		prodname = "SWITCHES/CATALYST/Catalyst-3850-3650"
	elif prodcode == "cat4000":
		prodname = "SWITCHES/CATALYST/Catalyst-4000"
	elif prodcode == "cat4000s12":
		prodname = "SWITCHES/CATALYST/Catalyst-4000-SUP-I-II"
	elif prodcode == "c4224":
		prodname = "SWITCHES/CATALYST/Catalyst-4224"
	elif prodcode == "cat4232":
		prodname = "SWITCHES/CATALYST/Catalyst-4232"
	elif prodcode == "cat4500":
		prodname = "SWITCHES/CATALYST/Catalyst-4500"
	elif prodcode == "cat4500e":
		prodname = "SWITCHES/CATALYST/Catalyst-4500E"
	elif prodcode == "c4500e":
		prodname = "SWITCHES/CATALYST/Catalyst-4500E"
	elif prodcode == "cat4500es8":
		prodname = "SWITCHES/CATALYST/Catalyst-4500E-SUP8E"
	elif prodcode == "cat4840g":
		prodname = "SWITCHES/CATALYST/Catalyst-4840G"
	elif prodcode == "cat5000":
		prodname = "SWITCHES/CATALYST/Catalyst-5000"
	elif prodcode == "ce500":
		prodname = "SWITCHES/CATALYST/Catalyst-500E"
	elif prodcode == "c6500":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800"
	elif prodcode == "cat6000":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800"
	elif prodcode == "c6sup":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/SUP-1-MSFC1"
	elif prodcode == "c6sup11":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/SUP-1-MSFC1"
	elif prodcode == "c6sup12":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/SUP-1-MSFC2"
	elif prodcode == "c6k222":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/SUP-2-MSFC2"
	elif prodcode == "c6sup22":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/SUP-2-MSFC2"
	elif prodcode == "s222":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/SUP-2-MSFC2"
	elif prodcode == "s2t54":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/SUP-2T"
	elif prodcode == "s3223":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/SUP-32-MSFC2"
	elif prodcode == "s32p3":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/SUP-32-PISA"
	elif prodcode == "s72033":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/SUP-720-MSFC3"
	elif prodcode == "s6t64":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/SUP-6T"
	elif prodcode == "c6848x":
		prodname = "SWITCHES/CATALYST/Catalyst-6840-X"
	elif prodcode == "c6880x":
		prodname = "SWITCHES/CATALYST/Catalyst-6880-X"
	elif prodcode == "c8000be":
		prodname = "SWITCHES/CATALYST/Catalyst-8300-Edge"
	elif prodcode == "c8000aep":
		prodname = "SWITCHES/CATALYST/Catalyst-8500-Edge"
	elif prodcode == "cat8510c":
		prodname = "SWITCHES/CATALYST/Catalyst-8510CSR"
	elif prodcode == "cat8510m":
		prodname = "SWITCHES/CATALYST/Catalyst-8510MSR"
	elif prodcode == "cat8540c":
		prodname = "SWITCHES/CATALYST/Catalyst-8540CSR"
	elif prodcode == "cat8540m":
		prodname = "SWITCHES/CATALYST/Catalyst-8540MSR"
	elif prodcode == "cat9k":
		prodname = "SWITCHES/CATALYST/Catalyst-9000"
	elif prodcode == "cat9k_lite":
		prodname = "SWITCHES/CATALYST/Catalyst-9200"
	elif prodcode == "c1000":
		prodname = "SWITCHES/COMPACT/Catalyst-1000"
	elif prodcode == "c2960c405":
		prodname = "SWITCHES/COMPACT/Catalyst-2960C"
	elif prodcode == "c2960c405ex":
		prodname = "SWITCHES/COMPACT/Catalyst-2960CG"
	elif prodcode == "c2960cx":
		prodname = "SWITCHES/COMPACT/Catalyst-2960CX"
	elif prodcode == "c3560c":
		prodname = "SWITCHES/COMPACT/Catalyst-3560C"
	elif prodcode == "c3560c405":
		prodname = "SWITCHES/COMPACT/Catalyst-3560C"
	elif prodcode == "c3560c405ex":
		prodname = "SWITCHES/COMPACT/Catalyst-3560CG"
	elif prodcode == "c3560cx":
		prodname = "SWITCHES/COMPACT/Catalyst-3560CX"
	elif prodcode == "cdb":
		prodname = "SWITCHES/COMPACT/CATALYST-DIGITAL-BUILDING"
	elif prodcode == "c2020":
		prodname = "SWITCHES/EMBEDDED/2020"
	elif prodcode == "ess3x00":
		prodname = "SWITCHES/EMBEDDED/3300"
	elif prodcode == "cgs2520":
		prodname = "SWITCHES/GRID/CGS-2520"
	elif prodcode == "grwicdes":
		prodname = "SWITCHES/GRID/CGS-Module"
	elif prodcode == "ie2000":
		prodname = "SWITCHES/INDUSTRIAL-ETHERNET/IE-2000"
	elif prodcode == "ie2000u":
		prodname = "SWITCHES/INDUSTRIAL-ETHERNET/IE-2000U"
	elif prodcode == "ies":
		prodname = "SWITCHES/INDUSTRIAL-ETHERNET/IE-3000"
	elif prodcode == "ie3010":
		prodname = "SWITCHES/INDUSTRIAL-ETHERNET/IE-3010"
	elif prodcode == "ie3x00":
		prodname = "SWITCHES/INDUSTRIAL-ETHERNET/IE-3x00"
	elif prodcode == "ie4000":
		prodname = "SWITCHES/INDUSTRIAL-ETHERNET/IE-4000"
	elif prodcode == "ie4010":
		prodname = "SWITCHES/INDUSTRIAL-ETHERNET/IE-4010"
	elif prodcode == "ie5000":
		prodname = "SWITCHES/INDUSTRIAL-ETHERNET/IE-5000"
	elif prodcode == "s6523":
		prodname = "SWITCHES/METRO/Catalyst-6500ME"
	elif prodcode == "me1200":
		prodname = "SWITCHES/METRO/ME-1200"
	elif prodcode == "ucs_ctrlr":
		prodname = "SWITCHES/METRO/ME-1200/UCS-CONTROLLLER"
	elif prodcode == "me240x":
		prodname = "SWITCHES/METRO/ME-2400"
	elif prodcode == "me2600x":
		prodname = "SWITCHES/METRO/ME-2600X"
	elif prodcode == "me340x":
		prodname = "SWITCHES/METRO/ME-3400"
	elif prodcode == "me360x":
		prodname = "SWITCHES/METRO/ME-3600"
	elif prodcode == "me360x_t":
		prodname = "SWITCHES/METRO/ME-3600"
	elif prodcode == "me380x":
		prodname = "SWITCHES/METRO/ME-3800"
	elif prodcode == "c2960sm":
		prodname = "SWITCHES/MODULES/Catalyst-2960-SERVICE-MODULE"
	elif prodcode == "c3kx":
		prodname = "SWITCHES/MODULES/Catalyst-3000-SERVICE-MODULE"
	elif prodcode == "c4gwy":
		prodname = "SWITCHES/CATALYST/Catalyst-4500/ACCESS-GATEWAY-MODULE"
	elif prodcode == "c5atm":
		prodname = "SWITCHES/CATALYST/Catalyst-5000/ATM"
	elif prodcode == "c5rsfc":
		prodname = "SWITCHES/CATALYST/Catalyst-5000/ROUTE-SWITCH-FEATURE-CARD"
	elif prodcode == "c5rsm":
		prodname = "SWITCHES/CATALYST/Catalyst-5000/ROUTE-SWITCH-MODULE"
	elif prodcode == "c6atm":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/ATM"
	elif prodcode == "wscmm":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/CMM"
	elif prodcode == "wsidsm2":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/IDSM2"
	elif prodcode == "c6msfc":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/MSFC1"
	elif prodcode == "c6msfc2":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/MSFC2"
	elif prodcode == "c6msfc2a":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/MSFC2A"
	elif prodcode == "c6msfc3":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/MSFC3"
	elif prodcode == "c6svc5fmwam":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/MWAM"
	elif prodcode == "c6svc6fmwam":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/MWAM"
	elif prodcode == "c6svcimwam":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/MWAM"
	elif prodcode == "svcmwam":
		prodname = "SWITCHES/CATALYST/Catalyst-6500-6800/MWAM"
	elif prodcode == "c8000v":
		prodname = "SWITCHES/CATALYST/Catalyst-8000V"
	elif prodcode == "Nexus":
		prodname = "SWITCHES/NEXUS/"
	elif prodcode == "n1000v":
		prodname = "SWITCHES/NEXUS/Nexus-1000v"
	elif prodcode == "n3000":
		prodname = "SWITCHES/NEXUS/Nexus-3000"
	elif prodcode == "n3500":
		prodname = "SWITCHES/NEXUS/Nexus-3500"
	elif prodcode == "n4000":
		prodname = "SWITCHES/NEXUS/Nexus-4000"
	elif prodcode == "n5000":
		prodname = "SWITCHES/NEXUS/Nexus-5000"
	elif prodcode == "n6000":
		prodname = "SWITCHES/NEXUS/Nexus-6000-5600"
	elif prodcode == "n7000":
		prodname = "SWITCHES/NEXUS/Nexus-7000"
	elif prodcode == "n7700":
		prodname = "SWITCHES/NEXUS/Nexus-7700"
	elif prodcode == "n9000":
		prodname = "SWITCHES/NEXUS/Nexus-9000"
	elif prodcode == "nxos":
		prodname = "SWITCHES/NEXUS/Nexus-9000-3000"
	elif prodcode == "nxosv":
		prodname = "SWITCHES/NEXUS/Nexus-9000V"
	elif prodcode == "Nexus":
		prodname = "SWITCHES/NEXUS/"
	elif prodcode == "nxosgeneric":
		prodname = "SWITCHES/NEXUS/"
	elif prodcode == "s5400":
		prodname = "SWITCHES/ROCKWELL-STRATIX/5400"
	elif prodcode == "s5410":
		prodname = "SWITCHES/ROCKWELL-STRATIX/5410"
	elif prodcode == "s5700":
		prodname = "SWITCHES/ROCKWELL-STRATIX/5700"
	elif prodcode == "s5800":
		prodname = "SWITCHES/ROCKWELL-STRATIX/5800-IOS-XE"
	elif prodcode == "mica-modem":
		prodname = "UNIVERSAL-GATEWAY/"
	elif prodcode == "c5200":
		prodname = "UNIVERSAL-GATEWAY/AS-5200"
	elif prodcode == "c5300":
		prodname = "UNIVERSAL-GATEWAY/AS-5300"
	elif prodcode == "c5300XM":
		prodname = "UNIVERSAL-GATEWAY/AS-5300XM"
	elif prodcode == "c5350":
		prodname = "UNIVERSAL-GATEWAY/AS-5350"
	elif prodcode == "c5350XM":
		prodname = "UNIVERSAL-GATEWAY/AS-5350XM"
	elif prodcode == "c5400":
		prodname = "UNIVERSAL-GATEWAY/AS-5400"
	elif prodcode == "c5400XM":
		prodname = "UNIVERSAL-GATEWAY/AS-5400XM"
	elif prodcode == "c5800":
		prodname = "UNIVERSAL-GATEWAY/AS-5800"
	elif prodcode == "c5850":
		prodname = "UNIVERSAL-GATEWAY/AS-5850"
	elif prodcode == "c5850tb":
		prodname = "UNIVERSAL-GATEWAY/AS-5850ERSC"
	elif prodcode == "usbconsole":
		prodname = "USB-CONSOLE"
	elif prodcode == "vg200":
		prodname = "VOICE/GATEWAY/VG-200"
	elif prodcode == "voice":
		prodname = "VOICE"
	elif prodcode == "vg20x":
		prodname = "VOICE/GATEWAY/VG-202"
	elif prodcode == "vg20xxm":
		prodname = "VOICE/GATEWAY/VG-20x-XM"
	elif prodcode == "vg224":
		prodname = "VOICE/GATEWAY/VG-224"
	elif prodcode == "vg248":
		prodname = "VOICE/GATEWAY/VG-248"
	elif prodcode == "vg3x0":
		prodname = "VOICE/GATEWAY/VG-310-320"
	elif prodcode == "vg350":
		prodname = "VOICE/GATEWAY/VG-350"
	elif prodcode == "vg400":
		prodname = "VOICE/GATEWAY/VG-400"
	elif prodcode == "vg420":
		prodname = "VOICE/GATEWAY/VG-420"
	elif prodcode == "vg450":
		prodname = "VOICE/GATEWAY/VG-450"
	elif prodcode == "vgd":
		prodname = "VOICE/GATEWAY/VGD"
	elif prodcode == "c2420":
		prodname = "VOICE/IAD/2420-IAD"
	elif prodcode == "c2430":
		prodname = "VOICE/IAD/2430-IAD"
	elif prodcode == "c2435":
		prodname = "VOICE/IAD/2435-IAD"
	elif prodcode == "ics7700":
		prodname = "VOICE/ICS-7700"
	elif prodcode == "ipp3905":
		prodname = "VOICE/IP-PHONES/3905"
	elif prodcode == "ipp7911_7906":
		prodname = "VOICE/IP-PHONES/7906_7911"
	elif prodcode == "ipp7914":
		prodname = "VOICE/IP-PHONES/7914"
	elif prodcode == "ipp7915":
		prodname = "VOICE/IP-PHONES/7915"
	elif prodcode == "ipp7916":
		prodname = "VOICE/IP-PHONES/7916"
	elif prodcode == "ipp7921":
		prodname = "VOICE/IP-PHONES/7921"
	elif prodcode == "ipp7931":
		prodname = "VOICE/IP-PHONES/7931"
	elif prodcode == "ipp7937":
		prodname = "VOICE/IP-PHONES/7937-CONFERENCE-PHONE"
	elif prodcode == "ipp7940_7960":
		prodname = "VOICE/IP-PHONES/7940_7960"
	elif prodcode == "ipp7941_7961":
		prodname = "VOICE/IP-PHONES/7941_7961"
	elif prodcode == "ipp7942_7962":
		prodname = "VOICE/IP-PHONES/7942_7962"
	elif prodcode == "ipp7945_7965":
		prodname = "VOICE/IP-PHONES/7945_7965"
	elif prodcode == "ipp7970_7971":
		prodname = "VOICE/IP-PHONES/7970_7971"
	elif prodcode == "ipp7975":
		prodname = "VOICE/IP-PHONES/7975"
	elif prodcode == "ipp8845_65":
		prodname = "VOICE/IP-PHONES/8845_8865"
	elif prodcode == "ipp894x":
		prodname = "VOICE/IP-PHONES/894x"
	elif prodcode == "ata187":
		prodname = "VOICE/ATA/ATA-187"
	elif prodcode == "ata190":
		prodname = "VOICE/ATA/ATA-190"
	elif prodcode == "uc500":
		prodname = "VOICE/UC-500"
	elif prodcode == "wireless":
		prodname = "WIRELESS"
	elif prodcode == "c1100":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-1100"
	elif prodcode == "c1130":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-1130"
	elif prodcode == "c1140":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-1140"
	elif prodcode == "c1200":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-1200"
	elif prodcode == "c1240":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-1240"
	elif prodcode == "c1250":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-1250"
	elif prodcode == "c1310":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-1310"
	elif prodcode == "c1520":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-1500-Mesh-AP"
	elif prodcode == "c1570":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-1570"
	elif prodcode == "c1550":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-1550"
	elif prodcode == "c350":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-350"
	elif prodcode == "c520":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-521"
	elif prodcode == "ap1g1":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-AP1G1-(700)"
	elif prodcode == "ap1g2":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-AP1G2-(1600)"
	elif prodcode == "ap1g3":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-AP1G3-(IR829-1530)"
	elif prodcode == "ap1g4":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-AP1G4-(1810-1830-1850)"
	elif prodcode == "ap1g5":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-AP1G5-(1540-1800-1815)"
	elif prodcode == "ap1g6":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-AP1G6-(c9117)"
	elif prodcode == "ap1g6a":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-AP1G6a-(c9130)"
	elif prodcode == "ap1g7":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-AP1G7-(C9115-9120)"
	elif prodcode == "ap3g1":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-AP3G1-(1260,3500)"
	elif prodcode == "ap3g2":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-AP3G2-(1600,1700,2600,2700,3600,3700)"
	elif prodcode == "c3700":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-AP3G2-(1600,1700,2600,2700,3600,3700)"
	elif prodcode == "ap3g3":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-AP3G3-(2800,3800,4800,1560,6300)"
	elif prodcode == "ap801":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-AP801-(861W,88xW,1911W-Routers)"
	elif prodcode == "ap802":
		prodname = "WIRELESS/ACCESS-POINT/AIRONET-AP802-(812,819,886VA-W,887VA-W,89xW-Routers)"
	elif prodcode == "AP1540":
		prodname = "WIRELESS/ACCESS-POINT/AP1540"
	elif prodcode == "AP1560":
		prodname = "WIRELESS/ACCESS-POINT/AP1560"
	elif prodcode == "AP1810w":
		prodname = "WIRELESS/ACCESS-POINT/AP1810w"
	elif prodcode == "AP1815":
		prodname = "WIRELESS/ACCESS-POINT/AP1815"
	elif prodcode == "AP1830":
		prodname = "WIRELESS/ACCESS-POINT/AP1830"
	elif prodcode == "AP1840":
		prodname = "WIRELESS/ACCESS-POINT/AP1840"
	elif prodcode == "AP1850":
		prodname = "WIRELESS/ACCESS-POINT/AP1850"
	elif prodcode == "AP2800":
		prodname = "WIRELESS/ACCESS-POINT/AP2800"
	elif prodcode == "AP3800":
		prodname = "WIRELESS/ACCESS-POINT/AP3800"
	elif prodcode == "AP4800":
		prodname = "WIRELESS/ACCESS-POINT/AP4800"
	elif prodcode == "AP6300":
		prodname = "WIRELESS/ACCESS-POINT/AP6300"
	elif prodcode == "ISR1100AC":
		prodname = "WIRELESS/ACCESS-POINT/ISR-AP1100AC"
	elif prodcode == "CT2500":
		prodname = "WIRELESS/CONTROLLER/2500"
	elif prodcode == "CT5500":
		prodname = "WIRELESS/CONTROLLER/5500"
	elif prodcode == "CT5520":
		prodname = "WIRELESS/CONTROLLER/5520"
	elif prodcode == "ct5760":
		prodname = "WIRELESS/CONTROLLER/5760"
	elif prodcode == "SWLC3750K9":
		prodname = "WIRELESS/CONTROLLER/CATALYST-3750"
	elif prodcode == "SWISMK9":
		prodname = "WIRELESS/CONTROLLER/CATALYST-6500-WISM"
	elif prodcode == "WISM":
		prodname = "WIRELESS/CONTROLLER/CATALYST-6500-WISM"
	elif prodcode == "WISM2":
		prodname = "WIRELESS/CONTROLLER/CATALYST-6500-WISM2"
	elif prodcode == "C9800-40":
		prodname = "WIRELESS/CONTROLLER/CATALYST-9800-40"
	elif prodcode == "C9800-80":
		prodname = "WIRELESS/CONTROLLER/CATALYST-9800-80"
	elif prodcode == "C9800-AP":
		prodname = "WIRELESS/ACCESS-POINT/CATALYST-9800-ACCESS-POINTS"
	elif prodcode == "C9800-CL":
		prodname = "WIRELESS/CONTROLLER/CATALYST-9800-CL"
	elif prodcode == "C9800-L":
		prodname = "WIRELESS/CONTROLLER/CATALYST-9800-L"
	elif prodcode == "C9800-SW":
		prodname = "WIRELESS/CONTROLLER/CATALYST-9800-SW"
	elif prodcode == "CT3504":
		prodname = "WIRELESS/CONTROLLER/3500"
	elif prodcode == "CT7500":
		prodname = "WIRELESS/CONTROLLER/CT7500"
	elif prodcode == "CT8500":
		prodname = "WIRELESS/CONTROLLER/CT8500"
	elif prodcode == "LOC2700":
		prodname = "WIRELESS/CONTROLLER/LOCATION-2700"
	elif prodcode == "WLCM":
		prodname = "WIRELESS/CONTROLLER/NM-NME"
	elif prodcode == "SRE":
		prodname = "WIRELESS/CONTROLLER/NM-SRE"
	elif prodcode == "CTVM":
		prodname = "WIRELESS/CONTROLLER/Virtual"
	elif prodcode == "WLC2006":
		prodname = "WIRELESS/CONTROLLER/WLC2006"
	elif prodcode == "WLC2100":
		prodname = "WIRELESS/CONTROLLER/WLC2100"
	elif prodcode == "WLC4100":
		prodname = "WIRELESS/CONTROLLER/WLC4100"
	elif prodcode == "WLC4400":
		prodname = "WIRELESS/CONTROLLER/WLC4400"
	elif prodcode == "WLC7500":
		prodname = "WIRELESS/CONTROLLER/WLC7500"
	elif prodcode == "CT8540":
		prodname = "WIRELESS/CONTROLLER/WLC8540"
	elif prodcode == "wcs":
		prodname = "WIRELESS/CONTROLLER/WCS"
	else:
		prodname = "UNKNOWN"
	return prodname

def fileprocessorrommon (debug1,filename):
	if debug1:
		print("\tModule#\tiosutils")
	if debug1:
		print("\tSubroutine#\tfileprocessorrommon")
	basepath = "ROMMON"
	if (
	filename == "asr900_15_6_43r_s_rommon.pkg" or 
	filename == "rsp2_15_6_15r_s_rommon.pkg" or 
	filename == "rsp2_15_6_19r_s_rommon.pkg" or 
	filename == "rsp2_15_6_30r_s_rommon.pkg" or 
	filename == "rsp2_rommon_15_4_3r_S5.pkg"
	):
		prodname = product("asr900")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("asr1000") or 
	filename == "ASR1000_RM_16_3_2R.bin"
	):
		prodname = product("asr1000")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("c6msfc2") or 
	filename.startswith("c6msfc2a") or 
	filename.startswith("c6msfc3") or 
	filename.startswith("c6ksup32") or 
	filename.startswith("c6ksup3") or 
	filename.startswith("c6dfc") or 
	filename.startswith("c6dfc3") or 
	filename.startswith("c2lc") or 
	filename.startswith("c6ksup720") or 
	filename.startswith("sup6t_rm") or 
	filename.startswith("pyramid_rm2") or 
	filename.startswith("cat6000-CPBOOT") or 
	filename.startswith("cat6000-sup2-rm2")
	):
		prodname = product("c6500")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename == "transformer_rm.bin.SPA.152-02r.SYS1" or 
	filename.startswith("c6840x_rm")
	):
		prodname = product("c6848x")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("governator_rm") or 
	filename.startswith("c6880x_rm")
	):
		prodname = product("c6880x")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C1800_RM2")
	):
		prodname = product("c180x")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C1841_RM2")
	):
		prodname = product("c1841")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C2800NM_RM2")
	):
		prodname = product("c2800nm")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("c805u")
	):
		prodname = product("c805")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C820_RM_ALT")
	):
		prodname = product("c820")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C860_RM2")
	):
		prodname = product("c860")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C860VAE2_RM2")
	):
		prodname = product("c860vae2")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C870_RM_ALT")
	):
		prodname = product("c870")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C880_RM2")
	):
		prodname = product("c880data")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C880s_RM")
	):
		prodname = product("c800g2")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C890_RM2") or 
	filename.startswith("C891x_RM2")
	):
		prodname = product("c890")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C890s_RM2")
	):
		prodname = product("c890s")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C2801_RM2")
	):
		prodname = product("c2801")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C1100-rommon")
	):
		prodname = product("c1100router")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C3631_RM2")
	):
		prodname = product("c3631")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C2691_RM2")
	):
		prodname = product("c2691")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C2951_RM2")
	):
		prodname = product("c2951")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C3725_RM2")
	):
		prodname = product("c3725")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C3745_RM2")
	):
		prodname = product("c3745")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C7200")
	):
		prodname = product("c7200")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C7301")
	):
		prodname = product("c7301")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C7304")
	):
		prodname = product("c7304")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C7304")
	):
		prodname = product("c7304")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("firmwareupgrade")
	):
		prodname = product("cat4500es8")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("cat4000")
	):
		prodname = product("cat4000")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("cat4500")
	):
		prodname = product("cat4500")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("asr903-rommon")
	):
		prodname = product("asr903")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("asr920")
	):
		prodname = product("asr920")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("AS5400XM_RM")
	):
		prodname = product("c5400XM")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("COUGAR_RM")
	):
		prodname = product("cat8540c")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C3945E_RM2")
	):
		prodname = product("c3900e")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C3800_RM2")
	):
		prodname = product("c3845")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("MANOPT_RM")
	):
		prodname = product("ons15540")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C3900_RM2")
	):
		prodname = product("c3900")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("VG3X0_RM")
	):
		prodname = product("vg3x0")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("VG224_RM2")
	):
		prodname = product("vg224")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("RPMXF_RM")
	):
		prodname = product("rpm")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("MWR1900_RM2")
	):
		prodname = product("mwr1900")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C2400_RM2")
	):
		prodname = product("c2430")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C3200_RM_ALT")
	):
		prodname = product("c3230")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C1900_2900_RM2")
	):
		prodname = product("c1900-2900")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C10700_RM2")
	):
		prodname = product("c10700")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("isr4200_4300_rommon")
	):
		prodname = product("isr4200-4300")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("isr4300-rommon")
	):
		prodname = product("isr4300")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("isr4400_rommon") or 
	filename.startswith("isr4400-rommon")
	):
		prodname = product("isr4400")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("isr4400v2_rommon")
	):
		prodname = product("isr4400v2")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("ROMMON") and filename.endswith("tar") or 
	filename.startswith("rommon") and filename.endswith("tar")
	):
		prodname = product("asr9k")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("rsp720_10ge_rp-rm2") or 
	filename.startswith("rsp720_10ge_sp-rm2") or 
	filename.startswith("rsp720_rp-rm2") or 
	filename.startswith("rsp720_sp-rm2")
	):
		prodname = product("c7600")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C5940_RM_ALT")
	):
		prodname = product("c5940")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C5915_RM")
	):
		prodname = product("c5915")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename.startswith("C9800-80-rommon")
	):
		prodname = product("C9800-80")
		filepath = filepath2(prodname,basepath)
		filemove (filepath, filename)
	elif (
	filename == "Rommon-123-8r.YH13-notes" or 
	filename == "Rommon-124-22r.YB5-notes" or 
	filename == "Rommon-151-1r.T4-notes" or 
	filename == "Rommon-151-1r.T5-notes" or 
	filename == "Rommon-150-1r.M12-notes"
	):
		filemove (basepath, filename)

def fileprocessorpagent (filename):
	filepath = "ROUTERS/PAGENT/"
	filemove (filepath, filename)

def util2digit (a,b):
	z = a + "." + b
	return z

def util3digit (a,b,c):
	z = a + "." + b + "." + c
	return z

def util4digit (a,b,c,d):
	z = a + "." + b + "." + c + "." + d
	return z

def util5digit (a,b,c,d,e):
	z = a + "." + b + "." + c + "." + d + "." + e
	return z

def stringtolist (a):
	z = list(a)
	return z

def filepath2 (a,b):
	z = a + "/" + b
	return z

def filepath3 (a,b,c):
	z = a + "/" + b + "/" + c
	return z

def filepath4 (a,b,c,d):
	z = a + "/" + b + "/" + c + "/" + d
	return z

def filepath5 (a,b,c,d,e):
	z = a + "/" + b + "/" + c + "/" + d + "/" + e
	return z

def filepath6 (a,b,c,d,e,f):
	z = a + "/" + b + "/" + c + "/" + d + "/" + e + "/" + f
	return z

def utilssinglemove (debug1,filename,prodname,imagecode):
	if debug1:
		print("\tModule#\t\tiosutils")
		print("\tSubroutine#\tutilssinglemove")
	filepath = filepath2 (prodname,imagecode) 
	filemove (filepath, filename)

def utilssingleprodname (debug1,filename,prodname):
	if debug1:
		print("\tModule#\t\tiosutils")
		print("\tSubroutine#\tutilssingleprodname")
	filemove (prodname, filename)

def utils_dev_v2_vf (debug1,filename,prodname,workname):
	if debug1:
		print("\tModule#\t\tiosutils")
		print("\tSubroutine#\tutils_dev_v2_vf")
	if prodname == "UNKNOWN":
		messageunknowndev()
	else:
		splitbydot = workname.split(".")
		if len(splitbydot) == 3:
			version2 = util2digit(splitbydot[0],splitbydot[1])
			version3 = util3digit(splitbydot[0],splitbydot[1],splitbydot[2])
		elif len(splitbydot) == 4:
			version2 = util2digit(splitbydot[0],splitbydot[1])
			version3 = util4digit(splitbydot[0],splitbydot[1],splitbydot[2],splitbydot[3])
		elif len(splitbydot) == 5:
			version2 = util2digit(splitbydot[0],splitbydot[1])
			version3 = util5digit(splitbydot[0],splitbydot[1],splitbydot[2],splitbydot[3],splitbydot[4])
		filepath = filepath3(prodname,version2,version3)
		filemove (filepath, filename)

def utils_dev_v2_vf_imagecode (debug1,filename,prodname,imagecode,workname):
	if debug1:
		print("\tModule#\t\tiosutils")
		print("\tSubroutine#\tutils_dev_v2_vf_imagecode")
	if prodname == "UNKNOWN":
		messageunknowndev()
	elif imagecode == "UNKNOWN":
		messageunknownfeat()
	else:
		splitbydot = workname.split(".")
		if len(splitbydot) == 3:
			version2 = util2digit(splitbydot[0],splitbydot[1])
			version3 = util3digit(splitbydot[0],splitbydot[1],splitbydot[2])
		elif len(splitbydot) == 4:
			version2 = util2digit(splitbydot[0],splitbydot[1])
			version3 = util4digit(splitbydot[0],splitbydot[1],splitbydot[2],splitbydot[3])
		elif len(splitbydot) == 5:
			version2 = util2digit(splitbydot[0],splitbydot[1])
			version3 = util5digit(splitbydot[0],splitbydot[1],splitbydot[2],splitbydot[3],splitbydot[4])
		filepath = filepath4(prodname,version2,version3,imagecode)
		filemove (filepath, filename)

def utils_dev_imagecode_v2_vf (debug1,filename,prodname,imagecode,workname):
	if debug1:
		print("\tModule#\t\tiosutils")
		print("\tSubroutine#\tutils_dev_imagecode_v2_vf")
	if prodname == "UNKNOWN":
		messageunknowndev()
	elif imagecode == "UNKNOWN":
		messageunknownfeat()
	else:
		splitbydot = workname.split(".")
		if len(splitbydot) == 3:
			version2 = util2digit(splitbydot[0],splitbydot[1])
			version3 = util3digit(splitbydot[0],splitbydot[1],splitbydot[2])
		elif len(splitbydot) == 4:
			version2 = util2digit(splitbydot[0],splitbydot[1])
			version3 = util4digit(splitbydot[0],splitbydot[1],splitbydot[2],splitbydot[3])
		elif len(splitbydot) == 5:
			version2 = util2digit(splitbydot[0],splitbydot[1])
			version3 = util5digit(splitbydot[0],splitbydot[1],splitbydot[2],splitbydot[3],splitbydot[4])
		filepath = filepath4(prodname,imagecode,version2,version3)
		filemove (filepath, filename)

def utils_dev_v2_vf_imagecode_dash (debug1,filename,prodname,imagecode,workname):
	if debug1:
		print("\tModule#\t\tiosutils")
		print("\tSubroutine#\tutils_dev_v2_vf_imagecode_dash")
	if prodname == "UNKNOWN":
		messageunknowndev()
	elif imagecode == "UNKNOWN":
		messageunknownfeat()
	else:
		splitbydash = workname.split("-")
		if len(splitbydash) == 3:
			version2 = util2digit(splitbydash[0],splitbydash[1])
			version3 = util3digit(splitbydash[0],splitbydash[1],splitbydash[2])
		elif len(splitbydash) == 4:
			version2 = util2digit(splitbydash[0],splitbydash[1])
			version3 = util4digit(splitbydash[0],splitbydash[1],splitbydash[2],splitbydash[3])
		elif len(splitbydash) == 5:
			version2 = util2digit(splitbydash[0],splitbydash[1])
			version3 = util5digit(splitbydash[0],splitbydash[1],splitbydash[2],splitbydash[3],splitbydash[4])
		filepath = filepath4(prodname,version2,version3,imagecode)
		filemove (filepath, filename)

def utils_dev_imagecode_v2_vf_dash (debug1,filename,prodname,imagecode,workname):
	if debug1:
		print("\tModule#\t\tiosutils")
		print("\tSubroutine#\tutils_dev_imagecode_v2_vf_dash")
	if prodname == "UNKNOWN":
		messageunknowndev()
	elif imagecode == "UNKNOWN":
		messageunknownfeat()
	else:
		splitbydash = workname.split("-")
		if len(splitbydash) == 3:
			version2 = util2digit(splitbydash[0],splitbydash[1])
			version3 = util3digit(splitbydash[0],splitbydash[1],splitbydash[2])
		elif len(splitbydash) == 4:
			version2 = util2digit(splitbydash[0],splitbydash[1])
			version3 = util4digit(splitbydash[0],splitbydash[1],splitbydash[2],splitbydash[3])
		elif len(splitbydash) == 5:
			version2 = util2digit(splitbydash[0],splitbydash[1])
			version3 = util5digit(splitbydash[0],splitbydash[1],splitbydash[2],splitbydash[3],splitbydash[4])
		filepath = filepath4(prodname,imagecode,version2,version3)
		filemove (filepath, filename)

def messageunknowndev ():
		print ("E001: This device type is unknown, please update the script with the information about the image.", end="\n")
def messageunknownfeat ():
		print ("E002: This feature set is unknown, please update the script with the information about the image.", end="\n")
def messageunknownfile ():
		print ("E003: This file in not classifiable, please update the script with the information about the image.", end="\n")
