- TIBCO BusinessEvents®
- Standard
- File

# File.openFile()

## Signature

`Object openFile (String path, String mode)`

## Domain

ACTION

## Description

Open the specified file for reading, and optionally, writing.

## Parameters

Name | Type | Description
--- | --- | ---
`path` | `String` | The target directory path.
`mode` | `String` | The access mode; i.e., $1r$1, $1rw$1, $1rws$1, or $1rwd$1

## Returns

Type | Description
--- | ---
`Object` | Returns a connection to the specified name.

## Cautions

none