- general cleanup
- support for content-encoding / compressed files
- use streams