public void WriteFile(SubtitleFile file) { using (var stream = _fileWriter.OpenWrite(file.Path)) { WriteStream(stream, file.SubtitleItems); } }