Add return value to loadConnectionFile()