updated mapreduce example to handle large input file