# Function readFileSync (file, showLog)
>**readFileSync**(file, showLog)
- Read text to a file Synchronously
- See [Functions](../functions.md)
## Parameters
| Parameter |Type |Default |Description |
| ---- | ---- | ---- | ---- |
**file** |string | |The file to read |
**showLog** | |false | |