delete existing files only when new files are uploaded if deleteOnUpdate options is set to true
use custom name if deleteOnUpdate option is set to true