auto creating dir/subdir to distribute the files across