Add file fields to all log types.