from bs4 import BeautifulSoup


def file_to_soup(file_path):
    """
    Make a beautiful soup object from an html text file
    :param file_path: String indicating location of html file to read
    :return:
    """
    with open(file_path, "r") as soup_file:
        response_text = soup_file.read()
    soup = BeautifulSoup(response_text, "html.parser")
    return soup