File detection stuff was not working unless I call infect().