Added regex pattern matching to import folder and HDFS