recurse directories properly
Take a glob option when uploading recursively