[PATCH 1/5] add essential functions to read .config file and parse privatePath