def METHOD_NAME(prefix: str = None,
                  suffix: str = None,
                  dir_path: str = None,
                  text_mode: bool = False) -> Tuple[int, str]:
    """
    Create new temporary file using ``tempfile.mkstemp()```.
    The file will be removed later when the process ends.
    :param prefix: If not ``None``, the file name will
        begin with that prefix; otherwise, a default prefix is used.
    :param suffix: If not ``None``, the file name will
        end with that suffix, otherwise there will be no suffix.
    :param dir_path: If not ``None``, 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.
    :param text_mode: If specified and true, the file is opened in
        text mode. Otherwise, (the default) the file is opened in
        binary mode.
    :return: A tuple comprising the file descriptor (an int) and the
        absolute path to the new file.
    """
    prefix = DEFAULT_TEMP_FILE_PREFIX if prefix is None else prefix
    fd, file_path = tempfile.mkstemp(prefix=prefix,
                                     suffix=suffix,
                                     dir=dir_path,
                                     text=text_mode)
    return fd, remove_file_later(file_path)