GetTempFile and GetFile functions to instantiate a new file object from the File
class, associate it with an external file, and open the file so you can use
File class methods to read from or write to it.
GetFile(filename, mode [, charset] [, pathtype])
GetTempFile(filename, mode [, charset] [, pathtype])
Difference
GetTempFile
can be a good choice when you wish to avoid implicit database commits and when
you do not need to have the file managed through the Report Repository