Sorted issue with folder creation before uploading