def author_media_location(instance, filename):
    """Return the location of a stored media file for an Author."""
    author_id = instance.id
    image_type = filename.rpartition(".")[2]

    return f"workflow_system/authors/{author_id}/profileImage.{image_type}"