    

 ## On this page

  

 

 # saveFileStream

 Last update: 30.07.2026 

public [saveFileStream](save-file-stream.md)(context: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Gets a stream that can be used for saving a file to the context. Only one stream may be open at a time.

#### Return

output stream for saving

#### Parameters

contextcontext by which to save#### Throws

[ModelCenterException](./../-model-center-exception/index.md)