only open a new file at message write time