/**
  * Answers an inputstream to the contents of the first file that matches the given
  * queryAttributes. If no object matches it, a MongoException is thrown.
  *
  * <p>{@sample.xml ../../../doc/mongo-connector.xml.sample mongo:get-file-content-using-query-map}
  *
  * @param queryAttributes the mandatory query attributes
  * @return an InputStream to the file contents
  */
 @Processor
 public InputStream getFileContentUsingQueryMap(
     @Placement(group = "Query Attributes") Map<String, Object> queryAttributes) {
   return client.getFileContent((DBObject) adapt(queryAttributes));
 }
 /**
  * Answers an inputstream to the contents of the first file that matches the given query. If no
  * object matches it, a MongoException is thrown.
  *
  * <p>{@sample.xml ../../../doc/mongo-connector.xml.sample mongo:get-file-content}
  *
  * @param query the {@link DBObject} mandatory query
  * @return an InputStream to the file contents
  */
 @Processor
 public InputStream getFileContent(@Optional @Default("#[payload]") DBObject query) {
   return client.getFileContent(from(query));
 }