title: Xamarin forms - Open file as stream
body: <p>This might be a very simple question but I'm always confused when we're talking about streams.
  I'm trying to open a file in my Xamarin Forms project in the Android part of it.
  I have a Java.IO.File which I would like to convert into a stream to be able to send it to an Azure Blob Storage with that simple function :</p>
  
  <pre><code>        public async Task&lt;string&gt; UploadFileAsync(Stream stream)
          {
          await this.container.CreateIfNotExistsAsync();
  
          var name = "Photo_" + Guid.NewGuid().ToString();
          var fileBlob = container.GetBlockBlobReference(name);
          await fileBlob.UploadFromStreamAsync(stream);
  
          return name;
          }
  </code></pre>
  
  <p>However, I can't seem to be able to use StreamReader from the Android part with 
  StreamReader or OutputStreamWriter.
  Did anyone encounter the same issue ?
  Thank you !</p>