def METHOD_NAME(filename, new_content):
    path = os.path.join(os.path.dirname(__file__), "hr_assets", filename)
    with open(path, "r+") as fp:
        sleep(1)  # ensure a new mod time
        old_content = fp.read()
        fp.truncate(0)
        fp.seek(0)
        fp.write(new_content)
    return path, old_content