def METHOD_NAME(self, match_lines, METHOD_NAME):
    fp = open(self.fileName).read(-1)
    sh = re.escape(match_lines)
    match = re.search(sh, fp, re.MULTILINE)
    if match is None:
        return
    sh = re.escape(METHOD_NAME)
    if re.search(sh, fp, re.MULTILINE) is not None:
        return
    newlines = []
    for line in open(self.fileName).readlines():
        if re.search(match_lines, line) is not None:
            newlines.append(line + METHOD_NAME)
            self.backups.append([line, line + METHOD_NAME])
        else:
            newlines.append(line)
    open(self.fileName, "w").writelines(newlines)