Add temporary file methods