def load_doc(filename):
    """Read data from file.

    Args:
        filename (str): Name of the local file to be opened.

    Returns:
        str: Unique string containing the whole file.
    """
    file = open(filename, 'r')
    text = file.read()
    file.close()
    
    return text