made #scan_for_viruses method more idomatic