Time-varying filtering of perturbed linear systems