def get_temp_file(dirpath=None, suffix='<STR_LIT>'):
return tempfile.NamedTemporaryFile(dir=dirpath, suffix=suffix)<EOL>
Uses tempfile to create a NamedTemporaryFile using
the default arguments.

Parameters
----------
dirpath: str
Directory where it must be created.
If dir is specified, the file will be created
in that directory, otherwise, a default directory is used.
The default directory is chosen from a platform-dependent
list, but the user of the application can control the
directory location by setting the TMPDIR, TEMP or TMP
environment variables.

suffix: str
File name suffix.
It does not put a dot between the file name and the
suffix; if you need one, put it at the beginning of suffix.

Returns
-------
file object

Note
----
Please, close it once you have used the file.