get a file  # noqa: E501

        Get your fax archive file using it's id.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.get_file(fax_id, async=True)
        >>> result = thread.get()

        :param async bool
        :param str fax_id: (required)
        :param str format: can be 'pdf' or 'tiff'
        :return: file
                 If the method is called asynchronously,
                 returns the request thread.

def get_file(self, fax_id, **kwargs):  # noqa: E501
        """get a file  # noqa: E501

        Get your fax archive file using it's id.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.get_file(fax_id, async=True)
        >>> result = thread.get()

        :param async bool
        :param str fax_id: (required)
        :param str format: can be 'pdf' or 'tiff'
        :return: file
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return self.get_file_with_http_info(fax_id, **kwargs)  # noqa: E501
        else:
            (data) = self.get_file_with_http_info(fax_id, **kwargs)  # noqa: E501
            return data