Scientists close in a faster way to detect and prevent foodborne illnesses.