def readFile(fileName):
    """Read a file, returning its contents as a single string.

    Args:
    
        fileName (str): The name of the file to be read.

    Returns: 

        str: The contents of the file.
    """

    fileContents = ""
    with open(fileName) as inputFile:
        fileContents = inputFile.read()
    return fileContents