def METHOD_NAME():
    filename = sys.argv[1]
    filename2 = sys.argv[2]
    filename3 = "T" + filename
    lines = open(filename).readlines()
    lines2 = open(filename2).read()
    # yaml
    # instructions = yaml.load(lines2, CLoader)
    # insert = instructions.get("insert", None)
    # json
    instructions = json.loads(lines2)
    insertfile = instructions.get("insert", None)
    insert = ""
    if insertfile:
        insert = open(insertfile).read()
    replace_by(lines, instructions)
    replace_tests(lines, instructions.get("test", None))
    # print("".join(lines))
    # print(insert)
    f = open(filename3, "w")
    f.writelines(lines)
    if insert:
        f.write(insert)
    f.close()
    args1 = [
        "/cs/dotnet/csc",
        "-nologo",
        f"-out:{filename3}.dll",
        "-target:library",
        *get_build_refs("nunit_test"),
        *get_build_refs("jypeli"),
        filename3,
    ]
    sourceFiles = instructions.get("sourceFiles", [])
    for sourceFile in sourceFiles:
        args1.append(sourceFile)
    ret = call(args1)
    # print(ret)
    # print(args1)
    if ret != 0:
        print("Testikoodi ei käänny")
        return
    args = ["/cs/dotnet/nunit-test-dll", f"{filename3}.dll"]
    ret = call(args, stdout=DEVNULL, stderr=DEVNULL, timeout=20)
    # https://docs.nunit.org/articles/nunit/running-tests/Console-Runner.html
    # print(args)
    if ret < 0:
        print("Testikoodia ei voi ajaa")
    xml = open("TestResult.xml").readlines()
    # print("\n".join(xml))
    points = count_points(xml, instructions.get("test", None))
    points = scale_points(points, instructions.get("points", None))
    print("Points: " + f"{points:.2f}")