add optional directory to upload files in azure container