Better fix empty data lines
Deprecate $filter parameter as it doesn't make sense to filter
additionally when calling toArray(). Results of Iterator and toArray are
expected to be the same anyways.