Add special logic to handle CSV files in order to return expected line numbers