def METHOD_NAME(path, args):
  with open(path, 'rb') as fp:
    text = fp.read().decode('utf-8')
  nl_style = determine_nl_style(path)
  lexer = CppLexer()
  tokens = lexer.get_tokens_unprocessed(text)
  fixup_tool = FixupTool(path, tokens, nl_style)
  changes = fixup_tool.parse()
  new_text = change_text(text, changes)
  if args.in_place:
    with open(path, 'wt') as fp:
      fp.write(new_text)
  else:
    print(new_text)