# Function readFileSync_2Array (file, showLog)
>**readFileSync_2Array**(file, showLog)
- Read file synchronously into an array of lines
- See [Functions](../functions.md)
## Parameters
| Parameter |Type |Default |Description |
| ---- | ---- | ---- | ---- |
**file** |string | |The file to read |
**showLog** | |false | |