# Function file_2Array (file)
>**file_2Array**(file)
- Convert a document into an array of lines
- See [Functions](../functions.md)
## Parameters
| Parameter |Type |Default |Description |
| ---- | ---- | ---- | ---- |
**file** |string | |the context of the file |