use system function to recursive remove the directory used by temporary storage