Scoring PDF structure to detect malicious files