Changes in the potential functional diversity of the bacterial community in biofilters