index.js
function loadYamlFile(filepath) {
	try {
		return yaml.safeLoad(
			fs.readFileSync(filepath), {
				schema: yamlSchema,
				filename: filepath
			}
		);
	} catch (err) {
		return null;
	}
}
function loadYamlFile(filepath) {
	try {
		return yaml.safeLoad(
			fs.readFileSync(filepath), {
				schema: yamlSchema,
				filename: filepath
			}
		);
	} catch (err) {
		return null;
	}
}
Loads a YAML file and parses it into an Object.

@param  {String} filepath
@return {Object}