Move createDirs to confFile

make createDir() able to create multiple dirs