added map reduce utility method for fetching text space