Made it so that loadYamlFile doesn't take a file extension.