I think you should detect and skip the header line if it exists