envsubst(
filename) ->content,err
Read a file and substitute environment variables in its content
Reads filename and replaces every ${VAR} placeholder with the
corresponding value from the process environment at the time of the call.
Variables set via ps.setenv are visible. Returns nil and an error string
if the file cannot be read.