def METHOD_NAME():
        xl = open(src_dir_path+"/"+xl_name+".c", 'w+')
        print(COPYRIGHT, file=xl)
        print(fragments["INCLUDE_IN_SRC_FILE"].replace("@XL_NAME@",
                                                              xl_name), file=xl)
        #Generate cbks and fops
        for fop in ops:
                print(generate(fragments["CBK_TEMPLATE"], fop, ops), file=xl)
                print(generate(fragments["FOP_TEMPLATE"], fop, ops), file=xl)
        for cbk in xlator_cbks:
                print(generate(fragments["FUNC_TEMPLATE"], cbk,
                                      xlator_cbks), file=xl)
        for dops in xlator_dumpops:
                print(generate(fragments["FUNC_TEMPLATE"], dops,
                                      xlator_dumpops), file=xl)
        #Generate fop table
        print("struct xlator_fops fops = {", file=xl)
        for fop in ops:
                print("        .{0:20} = {1}_{2},".format(fop, fop_prefix, fop), file=xl)
        print("};", file=xl)
        #Generate xlator_cbks table
        print("struct xlator_cbks cbks = {", file=xl)
        for cbk in xlator_cbks:
                print("        .{0:20} = {1}_{2},".format(cbk, fop_prefix, cbk), file=xl)
        print("};", file=xl)
        #Generate xlator_dumpops table
        print("struct xlator_dumpops dumpops = {", file=xl)
        for dops in xlator_dumpops:
                print("        .{0:20} = {1}_{2},".format(dops, fop_prefix, dops), file=xl)
        print("};", file=xl)
        xlator_methods = fragments["XLATOR_METHODS"].replace("@XL_NAME@", xl_name)
        xlator_methods = xlator_methods.replace("@FOP_PREFIX@", fop_prefix)
        print(xlator_methods, file=xl)
        xl.close()