ENH added ability to make temp files