def METHOD_NAME():
    modifications = 0
    while modifications < 10:
        with open(resource_path, "a+") as f:
            f.write(" some more content " + str(modifications))
            modifications += 1
            sleep(0.8)
    # remove the temporary file
    os.unlink(resource_path)