Ruby Script to read a YAML and create File Structure