read redis like config file