replace pcfg file IO with cef file IO