reads into
wpreferences
read_preferences (n,wpref);