Add support for uploading templated files.