MapReduce fully functional (file as output)