def read_line(filename):
    """Helper method to open a file and read a line from it.

    Args:
        filename (str): Path to the file.

    Returns:
        str: Line read from the file.
    """
    try:
        with open(filename) as text_file:
            return text_file.readline()
    except Exception:
        return ""