A fuel filter does indeed catch most of the impurities, but there is still a chance something can get through.
I had a car (carby) this happened to and it was well maintained, i let the fuel run down and the car died.
So a new carby, fuel pump and tank clean out later........
The problem was dirty fuel from the servo, and it was proven, i only ever ran premium in it!