def METHOD_NAME(mode = "w", **options):
    "Ask for a filename to save as, and returned the opened file"
    filename = SaveAs(**options).show()
    if filename:
        return open(filename, mode)
    return None