Improve s3manage file/folder existence checks