Find users with access to file to find its share keys

Instead of inaccurate pattern matching, use the list of users who we
know have access to the file to build the list of share keys.