title: Convert blob to file
body: <p>I need to convert a blob to file i javascript. </p>
  
  <p>Im using File API</p>
  
  <pre><code>var blob = new Blob(byteArrays, { type: contentType });
  </code></pre>
  
  <p>This is return from a function reading a cropped images.</p>
  
  <p>The old upload function are using $files as input. </p>
  
  <p>I want to convert that blob to file, and then set the name and type in that object.
  How do I do this??</p>