change filename of settings file and simplify readin function
change filename of settings file and simplify readin function
change filename of settings file and simplify readin function