Read a local file.
The file path.
A promise with the file contents.
If the file read failed or if called in a browser environment.
Read a local file.