Synchronously reads the entire contents of a file.
Optional
file contents
encoding The string encoding for the file contents. Defaults to null.
null
flag Defaults to 'r'.
'r'
Synchronously reads the entire contents of a file.