Add config sample and support to load file