this option and the query based on a search string are not available for local databases.

The freedb query based on select files option uses a fuzzy matching
algorithm of the remote freedb-server software to get the results. The
option is greyed out at local freedb, because disc-id calculation based on
audio files couldn’t be as exact as needed for getting the right album.