only delete input file if using gtdownload