def METHOD_NAME(directory):
    """Create the output directory if it doesn't exist yet.
    If there are old output files, remove them.
    """
    if os.path.exists(directory):
        cleanup_directory(directory)
    else:
        os.makedirs(directory)