Write to File Example -HDFS