def filetostring(filename: str) -> str:
    """
    Return a str of the entire contents of a file
    \nfilename the name of file to read
    """
    with open(filename, 'r') as file:
        return file.read()