I'm not sure a filter will make much of a difference. There are a lot of people who don't use a canister or HOB filter on their tanks. Are you sure it was a bacterial infection?