auto create dirs according to config file