function listVeeamFiles(request, response, bucketMd, log) {
    if (!bucketMd) {
        return responseXMLBody(errors.NoSuchBucket, null, response, log);
    }
    // Only accept list-type query parameter
    if (!('list-type' in request.query) && !('versions' in request.query)) {
        return responseXMLBody(errorInstances.InvalidRequest
            .customizeDescription('The Veeam folder does not support this action.'), null, response, log);
    }
    return metadata.getBucket(request.bucketName, log, (err, data) => {
        if (err) {
            return responseXMLBody(errors.InternalError, null, response, log);
        }
        const filesToBuild = [];
        const fieldsToGenerate = [];
        if (data._capabilities?.VeeamSOSApi?.SystemInfo) {
            fieldsToGenerate.push({
                ...data._capabilities?.VeeamSOSApi?.SystemInfo,
                name: `${validPath}system.xml`,
            });
        }
        if (data._capabilities?.VeeamSOSApi?.CapacityInfo) {
            fieldsToGenerate.push({
                ...data._capabilities?.VeeamSOSApi?.CapacityInfo,
                name: `${validPath}capacity.xml`,
            });
        }
        fieldsToGenerate.forEach(file => {
            const lastModified = file.LastModified;
            // eslint-disable-next-line no-param-reassign
            delete file.LastModified;
            const builder = new xml2js.Builder({
                headless: true,
            });
            const dataBuffer = Buffer.from(buildHeadXML(builder.buildObject(file)));
            filesToBuild.push({
                ...getResponseHeader(request, data,
                    dataBuffer, lastModified, log),
                name: file.name,
            });
        });
        // When `versions` is present, listing should return a versioned list
        return respondWithData(request, response, log, data,
            buildXMLResponse(request, filesToBuild, 'versions' in request.query));
    });
}
List system.xml and/or capacity.xml files for a given bucket.

@param {object} request - request object
@param {object} response - response object
@param {object} bucketMd - bucket metadata from the db
@param {object} log - logger object
@returns {undefined} -