async function getConfigFromFile(directories, filename) {
	const filepath = await tryFile(directories, filename).catch(() => null);
	if (!filepath) {
		return {};
	}
	return require(filepath);
}
Find and load config file.

@param {string[]} directories
@param {string} filename
@return {Object}