Map & filter function for DSV parsing.