# InteractionInputBuilder.ReleaseFiles

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Defined on: [InteractionInputBuilder](/reference/api/go/aspire.hosting/interactioninputbuilder.md)
- Version: `17.0.0`
- Kind: `method`

Releases uploaded files associated with the input.

## Remarks

Call this after processing the file paths returned by the prompt. Releasing the files deletes the
server-side temporary files before AppHost shutdown and is idempotent. Files that are not released are
deleted when the AppHost shuts down.

## Definition

```go
type InteractionInputBuilder interface {
    // ... omitted for brevity
    ReleaseFiles() error
}
```

## Signature

```go
ReleaseFiles() error
```

## Returns

`error`

Returns `error`.

## Defined on

- [InteractionInputBuilder](/reference/api/go/aspire.hosting/interactioninputbuilder.md) -- `handle`
