remove unused readSettings() function