code: private Object findGFSEntity(EntityMetadata entityMetadata, Class entityClass, Object key)
      {
          GridFSDBFile outputFile = findGridFSDBFile(entityMetadata, key);
          return outputFile != null ? handler.getEntityFromGFSDBFile(entityMetadata.getEntityClazz(),
                  instantiateEntity(entityClass, null), entityMetadata, outputFile, kunderaMetadata) : null;
      }
docs: Find GFS entity.
  
  @param entityMetadata
  the entity metadata
  @param entityClass
  the entity class
  @param key
  the key
  @return the object