def METHOD_NAME(self, fileName=None, toBytes=False, copy=False):
    """
    If *fileName* is None, pop-up a file dialog.
    If *toBytes* is True, return a bytes object rather than writing to file.
    If *copy* is True, export to the copy buffer rather than writing to file.
    """
    raise Exception("Abstract method must be overridden in subclass.")