title: How to read the content of a file with CommonsMultipartFile in Grails
body: <p>I can't read the file that I upload in Grails. <code>write</code> is the column in the db where I store the file that I uploaded.</p>
  
  <pre><code>CommonsMultipartFile testFile = request.getFile('templateFile')
  InputStream inputStream = testFile.getInputStream()
  bookInstance.write = inputStream
  </code></pre>