> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RemoveCustomFile

> Call RemoveCustomFile in the ABBYY FlexiCapture API to delete a user file by name from the Application Server within a given session.

## What it does

Removes a user file from the Application Server.

## Definition

```
void RemoveCustomFile( int sessionId, string fileName );
```

## Parameters

| **Name**  | **Type** | **Description**                                                |
| --------- | -------- | -------------------------------------------------------------- |
| sessionId | int      | The ID of the connection to the Application Server             |
| fileName  | string   | The name of the file to be removed from the Application Server |

## Returned value

None.
