piping input line by line to picomus to avoid devouring memory