import hashlib


def get_file_hash(file_path):
    """ Get the file hash (SHA-1) """
    chunk_size = 65536
    hasher = hashlib.sha1()
    with open(file_path, 'rb') as f:
        buff = f.read(chunk_size)
        while len(buff) > 0:
            hasher.update(buff)
            buff = f.read(chunk_size)
    file_hash = hasher.hexdigest()
    return file_hash