internal void SetFileFormatWriter(IFileFormatWriter writer) { if (writer != null) { _formatWriter = writer; } }