Apply filter to content