added argument to specify output file for passphrases