'Creates a torrent file.
:param file_path_list: files to add in torrent file
:param params: optional parameters for torrent file
:return: a Deferred that fires when the torrent file has been created'

@staticmethod
def create_torrent_file(file_path_list, params=None):

    params = (params or {})
    return threads.deferToThread(torrent_utils.create_torrent_file, file_path_list, params)
