write_args now returns a list of the files written