Required folders are created if not found.