devide s3 directory by dev mode