Change chop to chomp when reading lines, so CRLF is properly processed on