gtget: made readconfig() static