Added support for setting the TTL on the uploaded files.
Added more documentation.