pub fn calculate_entropy(file_path: &String) -> Result<f64>