# Sandbox.Texture.LoadFromFileSystem

```csharp
static Texture LoadFromFileSystem(string filepath, BaseFileSystem filesystem, bool warnOnMissing = True)
```

Try to load a texture from given filesystem, by filename.

### Parameters

- `filepath` (`string`)
- `filesystem` (`BaseFileSystem`)
- `warnOnMissing` (`bool`), default `True`

### Returns

`Texture`

Declared in [Sandbox.Texture](/api/Sandbox.Texture).
Assembly: `Sandbox.Engine`.
