slurping files myself (instead of using the shell)

this increases portability