def METHOD_NAME():
    show_update_comment = False #if true, it will put comments in the output file stating the packages that were updated
    if input("Show comments in output file (type 1 for true and 0 for false): ") == "1":
        show_update_comment = True
    with open(ORIGINAL_PACKAGE_CONFIG_FILE, 'r') as f:
        for line in f.readlines():
            try:
                line = line.strip()
                print("Input: \"" + line.strip() + "\"")
                if line.strip().startswith('<package id'):
                    elements = html.fromstring(line).xpath("//package")
                    package_id = elements[0].attrib["id"]
                    version = elements[0].attrib["version"]
                    process_package(line=line, package_id=package_id, version=version, show_update_comment= show_update_comment)
                else:
                    print("\tResult: Line does not start with \"<package id\", so it's being ignored. Ignored files are configured in script \n")
                    NEW_CONFIG_FILE_OUTPUT.append(line)
                print("\n\n")
            except Exception as exception:
                print("UNKNOWN ERROR")
                print(exception)
    #Printing the results
    for package in IGNORE_PACKAGES:
        print("Ignored package: " + package + "\n")
    with open(NEW_PACKAGE_CONFIG_FILE, 'w') as file_handle:
        for item in NEW_CONFIG_FILE_OUTPUT:
            if item.strip().startswith("<package id="):
                item = "  " + item
            file_handle.write(item + "\n")
    print("\n\n")
    print("Results have been written to: " + NEW_PACKAGE_CONFIG_FILE)
    print("\n")
    print("-------------------------------------- Finished Exeucuting --------------------------------------")