+ Add posix-like file interface.
~ A few fixes in session.