Better YAML syntax

Use YAML.load_file instead of YAML.load