-module(tut). -export([main/0]). main() -> folders("C:/Users/David/test/"). folders(PATH) -> {_,DD} = file:list_dir(PATH), A = [