Asynchronous file open.
https://nodejs.org/api/fs.html#file-system-flags
Mode to use to open the file. Can be ignored if the filesystem doesn't support permissions.
https://nodejs.org/api/fs.html#fspromisesopenpath-flags-mode
Asynchronous file open.