Now only one temp data file is created at a time.