> ## 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.

# LoadCustomFile

> Use LoadCustomFile in the ABBYY FlexiCapture API to retrieve a user file by name from the Application Server, returned as a File object.

## What it does

Gets a user file saved on the Application Server.

## Definition

```
File LoadCustomFile( string fileName );
```

## Parameters

| **Name** | **Type** | **Description**                                                  |
| -------- | -------- | ---------------------------------------------------------------- |
| fileName | string   | The name of the file to be retrieved from the Application Server |

## Returned value

| **Type**                                   | **Description** |
| ------------------------------------------ | --------------- |
| [File](/flexi-capture/api/structures/file) | The user file   |
