API documentation.

add & construct documentaion data type.
change File interface.