Parse parses the configuration from the given reader. The reader will be
read to completion (EOF) before returning so ensure that the reader
does not block forever.
ParseFile parses the given file for a configuration. The syntax of the
file is determined based on the filename extension: "hcl" for HCL,
"json" for JSON, other is an error.