each file now has a sha1 hash in database