Small readConfigFile() refactor, line endings