added bulk processing of Gate Documents