check for permission, then download file