improved readability of bench output

separated function for printing search header in txt mode