Just take a look at the functions in
vault.inc. It's pretty self explanatory. "key" is the data name in a sense (think of it as a variable), and "data" is the data value. You can't specify a specific file to write for, it is all written to vault.ini, although there is a file in the configs folder which defines the vault file, but every plugin that uses vault will write to the same file.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS