Infectious diseases

Why can bacteria in a biofilm be harder to eradicate than free-living bacteria of the same species?