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

# File class

> Reference for the File class in the FlexiCaptureConnector library, which holds a target file as a name and a byte array for processing in FC 12.

The *File* class is in the *com.abbyy.connectors.models* namespace. It contains information about the target file.

The methods of this class are described below.

## Constructor Details

```
public File(String name, byte[] bytes)
```

Creates a file object.

**Parameters:**

* name – the name of the file
  * bytes – the contents of the file as a byte array
