Folders are created if they don't exists already.