Read YAML files using Java IO.