Temp file clearing for mac added