Modify util::loadSettings()

- The function should receive an argument that specififes the file from
  where the settings will be loaded.

- Modify the code that makes use of this function accordingly.