temp file will be deleted after process finished