code: public static function parse($path)
      {
          if (!file_exists($path)) {
              throw new Exception('The give file ' . $path . ' doesn\'t exist.');
          }
  
          return Yaml::parse(file_get_contents($path));
  
      }
docs: Parses an YAML file from an given path.
  
  @param $path
  @return mixed
  @throws Exception When file couldn't be found