Put file encrypt and upload into a function.
Don't let GPG prompt on overwrite.