Add the function that adds all folders of one path