Add docs for OffsetFilePtr.
Improve docs in source code.
Add sphinx docs.