debug version. not removing result file.