- TIBCO BusinessEvents®
- Standard
- File

# File.readFileAsBytes()

## Signature

`Object readFileAsBytes (String filePath)`

## Domain

ACTION, BUI

## Description

Read the contents of the specified file and return a `byte[]`

## Parameters

Name | Type | Description
--- | --- | ---
`filePath` | `String` | The file to read

## Returns

Type | Description
--- | ---
`Object` | Contents of the file as bytes

## Cautions

none