getHandoutFile.
Helper methods now exist to send a file from an input stream and save a streamed file without specifying the size of the file. 0xdeadbeef is sent to indicate the end of a streamed file and the client checks if exactly 4 bytes were read to terminate.