def _hasher(filename): f = open(filename) return str(hashlib.sha1(f.read()).hexdigest())