read settings from a file
read settings from a file