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

import