FolderItem as Binary Post Data on Xojo.Net.HTTPSocket

I am trying to grab files from the local file system and upload them to a storage service. The files may have a pdf, jpg, png, gif, txt, doc, xls, etc. extension. My question is how to convert the FolderItem to a MemoryBlock so it can be used with SetRequestContent. myHTTPSocket1 is Xojo.Net.HTTPSocket

Dim f As new Xojo.IO.FolderItem(App.DocumentRoot.ToText)
f = f.Child("pic.jpg")

myHTTPSocket1.RequestHeader("Authorization") = auth.authToken.ToText
myHTTPSocket1.RequestHeader("X-Bz-File-Name") = ""
myHTTPSocket1.RequestHeader("Content-Type") = "b2/x-auto"
myHTTPSocket1.RequestHeader("X-Bz-Content-Sha1") = Crypto.Hash("DataToEncrypt", Crypto.Algorithm.SHA1)
myHTTPSocket1.RequestHeader("X-Bz-Info-id") = ""
myHTTPSocket1.Send("POST", uploadURL.ToText, f)

You make a binarystream and read the file with the binarystream into a memoryblock.