Header detection returns a '\n' at the end of the last element of list detected as header.
Header detection returns a '\n' at the end of the last element of list detected as header.