Control of pathogenic microorganisms