the folders are created if they do not exist