https://journal.missiondata.com/writing-throwaway-code-part-i-a-file-at-a-time-using-ruby-and-bundler-inline-c23f8562cce6