Can you move the below import logic into the model?  I think we should have an import_archive(file) so we're not doing the heavy lifting in the controller here.

Ideally, the controller would be reduced to @template.import_archive(archive)