Added function to import from HDFS