Fast and simple script to query sha1 hashes by file name.

Create Index on file_name beforwe running

CREATE INDEX idx_file_name ON FILE (file_name);