def fillListFromFile (fileName):
    """Reads a file and creates a list of values from that file.

    :param fileName: The file to be read
    :type fileName: str
    :return: A list of values from the file
    :rtype: list
    """
    valueList = []
    with open(fileName) as f:
        for value in f:
            valueList.append(float(value))

    return valueList