change json to ycfg
change names of not exported functions
man for -f