def getLiableOwner(directory_item):
    """
    Fetches the owner liable for the file directory_item.
    Recall - OWNERS of shared folders are charged for the entire shared folder

    People uploading to the shared folder will not be charged
    """
    parent = directory_item
    while (parent.parent_folder):
        parent = parent.parent_folder

    return parent.owner