SeparateData: separateFolder() function added