opengl can't read files, ever, because it's not built for a specific OS, architecture, etc.
it's got wide use in medical equipment, and honestly
reading line by line, trimming it (removing whitespace on each side) and testing for "#include " is hardly much work
really, the only gripe is with C++ SL itself which has a faulty getline() method that doesn't work the same way on linux and windows