Next step: make the script reusable
The previous script is ``flat''
(start at top, run to bottom)
Parts of it may be reusable
We may like to load data from file, operate on data, and then dump data
Let's refactor the script:
make a load data function
make a dump data function
collect these two functions in a reusable module