readAllLines with filter