Rename and deprecate filter module to prevent shadowing of built-in keyword

Remove import