import requests


def fetch_boards_file(url):
    """Fetch a boards.txt configuration file from a URL.

    Parameters
    ----------
    url : str
        URL from which to request boards.txt file.

    Returns
    -------
    output : list of strs or None
        If successful, returns a list of strings containing the lines
        of the boards.txt file. If unsuccessful, returns None.
    """
    try:
        f = requests.get(url)
        return f.text.split("\n")
    except:
        return None