implemented the writing of the big input file on the HDFS