added temporary hdfs support. this needs to be thought out much more