A new local feed contains counts, JSON messages and line records. Separate syntax errors from business validation failures, then return the representation each caller requested. This review starts with fresh boundary data, including a malformed field and an empty stream. You have already used every parser and stream operation needed here. Keep partial success from looking like a completed batch, preserve omitted optional fields as zero values and inspect a scanner error after its loop. The browser reads memory-backed streams; it does not open a real file. The checks include ordinary records as well as the first displayed case, so an error fix must preserve the successful path too.