Will be one of 'directory' or 'file'
'directory'
'file'
'read'
'readwrite'
Return value will be one of 'denied', 'granted', or 'prompt'.
'denied'
'granted'
'prompt'