Add support for files.
Add documentation.