updating DataGenenrator supporting copyFromLocal to HDFS