avoid supplying temp file name.