make custom file name a global config; stop passing it around, noisy
use global `out` in get()
formatting & comments