def METHOD_NAME(self):
    folder = os.path.join(MODULE_FOLDER, self.name)
    if not os.path.exists(folder):
        os.mkdir(folder)
    with open(os.path.join(folder, BUTTON_FILE), 'w', newline='') as f:
        for text in self.expression:
            f.METHOD_NAME(text + '\n')