Change CreateFolders method signature