# Sandbox.BaseFileSystem.ReadAllText

```csharp
string ReadAllText(string path)
```

Read the contents of path and return it as a string.
Returns null if file not found.

### Parameters

- `path` (`string`)

### Returns

`string`

Declared in [Sandbox.BaseFileSystem](/api/Sandbox.BaseFileSystem).
Assembly: `Sandbox.Filesystem`.
