loadConnectionOptions = async (sourceDir) => {
	const optionsFilePath = path.join(sourceDir, 'connection.options.yaml');
	const optionsFileExists = await fs
		.stat(optionsFilePath)
		.then(() => true)
		.catch(() => false);
	if (!optionsFileExists) return {};
	const optionsFile = await fs.readFile(optionsFilePath).then((r) => r.toString());
	try {
		// TODO: Should we make the b64 encoding optional? (e.g. prefix with b64: to indicate encoding intent)
		return decodeBase64Deep(yaml.parse(optionsFile));
	} catch (e) {
		throw new EvidenceError(`Error parsing connection.options.yaml file; ${sourceDir}`, [], {
			cause: e
		});
	}
}
@param {string} sourceDir
@deprecated Use loadSourceConfig