Moved to a reusable function for generating the output
Moved to a reusable function for generating the output

Also: The generated file now uses a Bash array for listing the items of each type.

nwinkler/dotfiles,nwinkler/dotfiles