Files Limit
To control the maximum number of files user may upload,
use setFilesLimit(count) method.
The code below will set files limit to 1, so user will be able to upload one and only one file. When he chooses one file, the "Add" button is disabled.
If you want to set it to unlimited, use the 0 (zero) count value - vault.setFilesLimit(0).