def openFile(fileName):
    """This function takes a file a return its content as a string.
            Args:
                    fileName(str): The name of the file to be oppened.
            Returns:
                    str: The content of the file."""
    try:
        myFile = open(fileName)
        stringDocument = myFile.read()
        myFile.close()
        return stringDocument
    except IOError:
        print('File %s could not be openned.' % fileName)
        return ''
