code: private List<GridFSDBFile> getGFSDBFiles(BasicDBObject mongoQuery, BasicDBObject sort, String collectionName,
              int maxResult, int firstResult)
      {
          KunderaGridFS gfs = new KunderaGridFS(mongoDb, collectionName);
          return gfs.find(mongoQuery, sort, firstResult, maxResult);
      }
docs: Gets the GFSDB files.
  
  @param mongoQuery
  the mongo query
  @param sort
  the sort
  @param collectionName
  the collection name
  @param maxResult
  the max result
  @param firstResult
  the first result
  @return the GFSDB files