OpenGL has absolutely nothing to do with file IO.

Your question makes no sense. What are you actually trying to do?