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

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

## Constructor

```java theme={null}
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.
