title: Multiple GridFS on a Mongo Database and Multiple Files
body: <p>I am wondering it is possible to have multiple GridFS in Mongo? The reason why I am asking is because I am working on with Mongo has both video and image uploads. The problem is I want them to be separate collections but I am using</p>
  
  <pre><code>$db -&gt;gridFS();
  </code></pre>
  
  <p>which uses the same collection. So how can I separate the two types and stil use gridFS?</p>
  
  <p>Also for the images, an image file has multiple versions of the image associated with one ID. Can this be done in GridFS? <code>grid-&gt;StoreFile</code> seems to only store one file.</p>