Fixing issue with removing all the temp files.