Rewrite of receiving dat from stream, removed use of StreamReader (too slow).