load preference file.