The current function is set to read from buffer, but when the SAS files are extremely large this chokes. My thought is to fork a set of the read functions using "rb" file connection, parsing the header