adding hdfs support