calculate shannon entropy of checked files