def METHOD_NAME(path, shellscript, alreadyCreatedPathes=[]):
	dirPath = os.path.dirname(path)
	if dirPath != "" and not os.path.exists(dirPath) and dirPath not in alreadyCreatedPathes:
		createDirectory(dirPath, shellscript)
		alreadyCreatedPathes.append(dirPath)