read options from config files