Added analyzeFile function

analyzeFile: counts malware occurrences