Minerva: A File-Based Ransomware Detector