# Sandbox.CodeGenerator.RemoveFile

```csharp
bool RemoveFile(string path)
```

Removes an input file, returning whether it was present.

### Parameters

- `path` (`string`)

### Returns

`bool`

Declared in [Sandbox.CodeGenerator](/api/Sandbox.CodeGenerator).
Assembly: `Sandbox.Compiling`.
