uploading directory structure