TODO:

  * For the profile file can use yaml or another format
  * Check the directory with setting('appdir'), and concat with file name
  * Add tests
