Entropy calculator for files