## Description

Reads the contents of a text file into a table.

## Parameters

### Filename

(string) The full path to the text file.

## Returns

(table) A table indexed by lines in the text file. Each table item contains one line of text from the file. If the text file is empty or an error occurs, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.

### ResultVariable

When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.