Added exit for --version
Added File.open for YAML load