This method returns a thumbnail representation of the file if the data is a supported graphics format.

        Input:
            * None

        Output:
            * A byte stream representing a thumbnail of a support graphics file

        Example::

            file = client.get_file("4ddfds", 0)
            open("thumbnail.jpg", "wb").write(file.thumbnail())

def thumbnail(self):
        """
        This method returns a thumbnail representation of the file if the data is a supported graphics format.

        Input:
            * None

        Output:
            * A byte stream representing a thumbnail of a support graphics file

        Example::

            file = client.get_file("4ddfds", 0)
            open("thumbnail.jpg", "wb").write(file.thumbnail())
        """
        response = GettRequest().get("/files/%s/%s/blob/thumb" % (self.sharename, self.fileid))

        return response.response