writeFile

Reads the file and writes it to the data stream.

Parameters

file

the file to read from


Reads the file from filePath and writes it to the data stream.

Parameters

filePath

absolute path to the file