A bacteria-filled filter is being perfected to prevent bad industrial smells from spreading over a whole town.