# Sandbox.BaseFileSystem.OpenRead

```csharp
System.IO.Stream OpenRead(string path, System.IO.FileMode mode = 3)
```

Open a file for read. Will throw an exception if it doesn't exist.

### Parameters

- `path` (`string`)
- `mode` (`System.IO.FileMode`), default `3`

### Returns

`System.IO.Stream`

Declared in [Sandbox.BaseFileSystem](/api/Sandbox.BaseFileSystem).
Assembly: `Sandbox.Filesystem`.
