change names on log files of sampling, clustering and optimization