wrappers for session, cookies, and files.