Added code to write uploaded file archive, vault and archive id in a file.