public void map(LongWritable key, Text value, Context context)
				throws IOException, InterruptedException {

			String line = value.toString();
			String []tokens = line.split(":");
			
			for (int i = 0; i < tokens.length; i++) {
				if (tokens[i].equals("product/productId")) {
					product_id = tokens[i+1];
					if (first) {
						prev_product_id = product_id;
					}
				}
				else if (tokens[i].equals("product/title")) {
					product_name = ConvertArrayToString(tokens);
					if (first) {
						prev_product_name = product_name;
						first = false;
					}
				}
				else if (tokens[i].equals("review/summary")) {
					product_review_summary = ConvertArrayToString(tokens);
				}
				else if (tokens[i].equals("review/text")) {
					product_review_text = ConvertArrayToString(tokens);
					if (!prev_product_name.equals(product_name) && prev_product_id != product_id) {
						String temp_product_info = prev_product_id + " " + prev_product_name + " ||";
						context.write(new Text(temp_product_info), new Text(temp_product_reviews));
						prev_product_id = product_id;
						prev_product_name = product_name;
						//product_id = "";
						//product_name = "";
						//product_review_summary = "";
						//product_review_text = "";
						temp_product_reviews = "";	
					}
					temp_product_reviews += " "+ product_review_summary + " " + product_review_text + " <end>";	
				}
			}
		}