Separated filter into a separate file