Added grant access to user on file API.