read
Reads the contents of the file located at the specified path.
Return
a ByteArray containing the contents of the file.
Parameters
path
the path of the file to read, which must be a regular file and must exist.
Throws
if the specified path is not a regular file or does not exist.