from bs4 import BeautifulSoup


def get_corpus_file_soup(corpus_filename):

    """
    For a given corpus xml filename, return its BeautifulSoup soup.

    """

    return BeautifulSoup(open(corpus_filename), 'xml')