Settings file cleanup