remove duplicated code for builderInfo config files