Better way of chosing a temporary file
Better way of chosing a temporary file