CFY-516 separated config files creation method for the sake of cleaner code