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