## OutputZipDirectory::GetFile method


Returns the stream to read from.

```cpp
System::SharedPtr<Aspose::TeX::IO::NamedStream> Aspose::TeX::IO::OutputZipDirectory::GetFile(const System::String &fileName, bool searchSubdirectories=false) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| fileName | const System::String\& | The file name. |
| searchSubdirectories | bool | Indicates whether to look for a file in subdirectories. |

### ReturnValue

The named stream.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [NamedStream](../../namedstream/)
* Class [String](../../../system/string/)
* Class [OutputZipDirectory](../)
* Namespace [Aspose::TeX::IO](../../)
* Library [Aspose.TeX for C++](../../../)
