title: Config files and Reltool
body: <p>I'm building a release with Reltool. The app needs config files to start. It reads a config file using the following function: </p>
  
  <pre><code>read_config(Filename) -&gt;
      {ok, [Config]} = file:consult(filename:join(
                                    [filename:dirname(code:which(?MODULE)),
                                     "..", "config", Filename])),
      Config.
  </code></pre>
  
  <p>What's a good way to use config files so that Reltool builds a working release?</p>