half working version with batch reading
so sad
Working version with batch reading but with no {next_line} trimmig