for file in files:
    filePath = os.path.dirname(file)
    fileWithoutExtension = os.path.splitext(file)[0]
    component_name = path_leaf(fileWithoutExtension.replace("_en", ""))
    newFile = file.replace("_en.json", "_"+lang+".json")