Open/close files in Formatter.