This `filter` removes empty lines from the array `history.split`