Documentation.
Added support for saving/storing filemode.