Filter and decode the data.