Improve source code file reading to avoid additional text/bytes reading