add support for multiple nidm in upload folder